From e96f64dfb844d9dba82b75f67c0569cfbf314199 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 25 Aug 2014 09:55:26 +0200 Subject: m doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsserver/macros.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libmdsserver') diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h index b340a64..a7707ff 100644 --- a/src/libmdsserver/macros.h +++ b/src/libmdsserver/macros.h @@ -214,9 +214,9 @@ /** * Check whether two strings are equal * - * @param a:char* One of the strings - * @param b:char* The other of the strings - * @return :int Whether the strings are equal + * @param a:const char* One of the strings + * @param b:const char* The other of the strings + * @return :int Whether the strings are equal */ #define strequals(a, b) \ (strcmp(a, b) == 0) @@ -225,9 +225,9 @@ /** * Check whether a string starts with another string * - * @param haystack:char* The string to inspect - * @param needle:char* The string `haystack` should start with - * @return :int Whether `haystack` starts with `needle` + * @param haystack:const char* The string to inspect + * @param needle:const char* The string `haystack` should start with + * @return :int Whether `haystack` starts with `needle` */ #define startswith(haystack, needle) \ (strstr(haystack, needle) == haystack) -- cgit v1.2.3-70-g09d2