Added more 'const'
authoraland <aland>
Mon, 17 Dec 2007 10:32:30 +0000 (10:32 +0000)
committeraland <aland>
Mon, 17 Dec 2007 10:32:30 +0000 (10:32 +0000)
src/include/token.h

index 52d5da3..3a71d18 100644 (file)
@@ -71,9 +71,9 @@ const char *fr_int2str(const FR_NAME_NUMBER *table, int number,
                         const char *def);
 
 
-int            getword (char **ptr, char *buf, int buflen);
-int            getbareword (char **ptr, char *buf, int buflen);
-FR_TOKEN       gettoken(char **ptr, char *buf, int buflen);
-FR_TOKEN       getstring(char **ptr, char *buf, int buflen);
+int            getword (const char **ptr, char *buf, int buflen);
+int            getbareword (const char **ptr, char *buf, int buflen);
+FR_TOKEN       gettoken(const char **ptr, char *buf, int buflen);
+FR_TOKEN       getstring(const char **ptr, char *buf, int buflen);
 
 #endif /* FR_TOKEN_H */