aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/macros.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-06 15:07:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-06 15:07:38 +0200
commit24f7f92705d44a4ff9847417d9945f871e72a53c (patch)
tree5148d89c47c4ee6429e510d61ddb56e795960b41 /src/libmdsserver/macros.h
parentadd buf_set/get_next macros (diff)
downloadmds-24f7f92705d44a4ff9847417d9945f871e72a53c.tar.gz
mds-24f7f92705d44a4ff9847417d9945f871e72a53c.tar.bz2
mds-24f7f92705d44a4ff9847417d9945f871e72a53c.tar.xz
use macros in mds.c
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index f1c6076..0c2a2e2 100644
--- a/src/libmdsserver/macros.h
+++ b/src/libmdsserver/macros.h
@@ -34,7 +34,7 @@
* @param ... The arguments
*/
#define xsnprintf(buffer, format, ...) \
- snprintf(buffer, sizeof(buffer) / sizeof(char), format, __VA_ARGS__);
+ snprintf(buffer, sizeof(buffer) / sizeof(char), format, __VA_ARGS__)
/**
@@ -44,7 +44,7 @@
* @param format:char* The format
*/
#define eprint(format) \
- fprintf(stderr, "%s: " format "\n", *argv);
+ fprintf(stderr, "%s: " format "\n", *argv)
/**
@@ -55,7 +55,7 @@
* @param ... The arguments
*/
#define eprintf(format, ...) \
- fprintf(stderr, "%s: " format "\n", *argv, __VA_ARGS__);
+ fprintf(stderr, "%s: " format "\n", *argv, __VA_ARGS__)
/**