[Devel] Declare const

Igor Podlesny openvz at poige.ru
Sun Apr 28 20:31:50 PDT 2013


---
 src/lib/util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/util.c b/src/lib/util.c
index b09edfe..a835da9 100644
--- a/src/lib/util.c
+++ b/src/lib/util.c
@@ -41,7 +41,7 @@
 #define NR_OPEN 1024
 #endif
 
-static const char *unescapestr(char *src)
+static const char *unescapestr(char *const src)
 {
 	char *p1, *p2;
 	int fl = 0;
-- 
1.7.9.5




More information about the Devel mailing list