diff subopt-helper.h @ 19104:2ec2301183cd

marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
author reynaldo
date Sat, 15 Jul 2006 16:03:12 +0000
parents f73adf296f1e
children 5949a654e2d4
line wrap: on
line diff
--- a/subopt-helper.h	Sat Jul 15 15:27:09 2006 +0000
+++ b/subopt-helper.h	Sat Jul 15 16:03:12 2006 +0000
@@ -44,7 +44,7 @@
 int int_non_neg( int * i );
 int int_pos( int * i );
 
-int strargcmp(strarg_t *arg, char *str);
+int strargcmp(strarg_t *arg, const char *str);
 int strargcasecmp(strarg_t *arg, char *str);
 
 #endif