summaryrefslogtreecommitdiff
path: root/nuttx/drivers/lcd
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-22 09:01:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-22 09:01:51 -0600
commit54f7552fbc21a3959636225bd8e80ba95fc6750c (patch)
tree9cc321d2ef1c24efd225f33840e2349bb6e4abd2 /nuttx/drivers/lcd
parent34cc8f19dfc278d546a9dd8c00eebabe0bc3094d (diff)
downloadpx4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.gz
px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.bz2
px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.zip
Change all variadic macros to C99 style
Diffstat (limited to 'nuttx/drivers/lcd')
-rw-r--r--nuttx/drivers/lcd/memlcd.c4
-rw-r--r--nuttx/drivers/lcd/nokia6100.c2
-rw-r--r--nuttx/drivers/lcd/p14201.c2
-rw-r--r--nuttx/drivers/lcd/skeleton.c2
-rw-r--r--nuttx/drivers/lcd/ssd1306.c4
-rw-r--r--nuttx/drivers/lcd/st7567.c2
-rw-r--r--nuttx/drivers/lcd/ug-2864ambag01.c4
-rw-r--r--nuttx/drivers/lcd/ug-9664hswag01.c2
8 files changed, 11 insertions, 11 deletions
diff --git a/nuttx/drivers/lcd/memlcd.c b/nuttx/drivers/lcd/memlcd.c
index dd7b534fe..578c30a1c 100644
--- a/nuttx/drivers/lcd/memlcd.c
+++ b/nuttx/drivers/lcd/memlcd.c
@@ -112,8 +112,8 @@
/* Debug */
#ifdef CONFIG_DEBUG_LCD
-# define lcddbg(format, arg...) dbg(format, ##arg)
-# define lcdvdbg(format, arg...) vdbg(format, ##arg)
+# define lcddbg(format, ...) dbg(format, ##__VA_ARGS__)
+# define lcdvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define lcddbg(x...)
# define lcdvdbg(x...)
diff --git a/nuttx/drivers/lcd/nokia6100.c b/nuttx/drivers/lcd/nokia6100.c
index 4fabf7885..3677d8bfe 100644
--- a/nuttx/drivers/lcd/nokia6100.c
+++ b/nuttx/drivers/lcd/nokia6100.c
@@ -308,7 +308,7 @@
/* Debug ******************************************************************************/
#ifdef CONFIG_LCD_REGDEBUG
-# define lcddbg(format, arg...) llvdbg(format, ##arg)
+# define lcddbg(format, ...) llvdbg(format, ##__VA_ARGS__)
#else
# define lcddbg(x...)
#endif
diff --git a/nuttx/drivers/lcd/p14201.c b/nuttx/drivers/lcd/p14201.c
index 094380b59..dbd69a271 100644
--- a/nuttx/drivers/lcd/p14201.c
+++ b/nuttx/drivers/lcd/p14201.c
@@ -180,7 +180,7 @@
/* Debug ******************************************************************************/
#ifdef CONFIG_LCD_RITDEBUG
-# define ritdbg(format, arg...) vdbg(format, ##arg)
+# define ritdbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define ritdbg(x...)
#endif
diff --git a/nuttx/drivers/lcd/skeleton.c b/nuttx/drivers/lcd/skeleton.c
index f161b3a5e..bc58b53a3 100644
--- a/nuttx/drivers/lcd/skeleton.c
+++ b/nuttx/drivers/lcd/skeleton.c
@@ -90,7 +90,7 @@
/* Debug ******************************************************************************/
#ifdef CONFIG_LCD_SKELDEBUG
-# define skeldbg(format, arg...) vdbg(format, ##arg)
+# define skeldbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define skeldbg(x...)
#endif
diff --git a/nuttx/drivers/lcd/ssd1306.c b/nuttx/drivers/lcd/ssd1306.c
index d92075610..32e22e679 100644
--- a/nuttx/drivers/lcd/ssd1306.c
+++ b/nuttx/drivers/lcd/ssd1306.c
@@ -301,8 +301,8 @@
/* Debug ******************************************************************************/
#ifdef CONFIG_DEBUG_LCD
-# define lcddbg(format, arg...) dbg(format, ##arg)
-# define lcdvdbg(format, arg...) vdbg(format, ##arg)
+# define lcddbg(format, ...) dbg(format, ##__VA_ARGS__)
+# define lcdvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define lcddbg(x...)
# define lcdvdbg(x...)
diff --git a/nuttx/drivers/lcd/st7567.c b/nuttx/drivers/lcd/st7567.c
index cc95c603b..179c3d2e5 100644
--- a/nuttx/drivers/lcd/st7567.c
+++ b/nuttx/drivers/lcd/st7567.c
@@ -209,7 +209,7 @@
/* Debst7567 ******************************************************************************/
#ifdef CONFIG_LCD_ST7567DEBUG
-# define st7567dbg(format, arg...) vdbg(format, ##arg)
+# define st7567dbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define st7567dbg(x...)
#endif
diff --git a/nuttx/drivers/lcd/ug-2864ambag01.c b/nuttx/drivers/lcd/ug-2864ambag01.c
index 4879c027f..51706026a 100644
--- a/nuttx/drivers/lcd/ug-2864ambag01.c
+++ b/nuttx/drivers/lcd/ug-2864ambag01.c
@@ -263,8 +263,8 @@
/* Debug ******************************************************************************/
#ifdef CONFIG_DEBUG_LCD
-# define lcddbg(format, arg...) dbg(format, ##arg)
-# define lcdvdbg(format, arg...) vdbg(format, ##arg)
+# define lcddbg(format, ...) dbg(format, ##__VA_ARGS__)
+# define lcdvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define lcddbg(x...)
# define lcdvdbg(x...)
diff --git a/nuttx/drivers/lcd/ug-9664hswag01.c b/nuttx/drivers/lcd/ug-9664hswag01.c
index 1ad2e1150..c649e26ca 100644
--- a/nuttx/drivers/lcd/ug-9664hswag01.c
+++ b/nuttx/drivers/lcd/ug-9664hswag01.c
@@ -224,7 +224,7 @@
/* Debug ******************************************************************************/
#ifdef CONFIG_DEBUG_LCD
-# define lcddbg(format, arg...) vdbg(format, ##arg)
+# define lcddbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define lcddbg(x...)
#endif