aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-25 10:17:50 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-25 10:17:50 +0200
commitf687c3734666d33ed92885237025a87fb4c3ec68 (patch)
treefdce6d6defe48ba9d05b40aa364878689c88755c
parentm doc (diff)
downloadmds-f687c3734666d33ed92885237025a87fb4c3ec68.tar.gz
mds-f687c3734666d33ed92885237025a87fb4c3ec68.tar.bz2
mds-f687c3734666d33ed92885237025a87fb4c3ec68.tar.xz
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/libmdsserver/macros.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index 255accd..aadf7b5 100644
--- a/src/libmdsserver/macros.h
+++ b/src/libmdsserver/macros.h
@@ -53,8 +53,8 @@
* Wrapper for `fprintf` that prints to `stderr` with
* the program name prefixed and new line suffixed
*
- * @param format:char* The format
- * @return :int The number of bytes written, including the NUL-termination, negative on error
+ * @param format:const char* The format
+ * @return :int The number of bytes written, including the NUL-termination, negative on error
*/
#define eprint(format) \
fprintf(stderr, "%s: " format "\n", *argv)
@@ -64,9 +64,9 @@
* Wrapper for `fprintf` that prints to `stderr` with
* the program name prefixed and new line suffixed
*
- * @param format:char* The format
- * @param ... The arguments
- * @return :int The number of bytes written, including the NUL-termination, negative on error
+ * @param format:const char* The format
+ * @param ... The arguments
+ * @return :int The number of bytes written, including the NUL-termination, negative on error
*/
#define eprintf(format, ...) \
fprintf(stderr, "%s: " format "\n", *argv, __VA_ARGS__)