]> granicus.if.org Git - curl/commitdiff
return a const char *
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 12:07:34 +0000 (12:07 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 12:07:34 +0000 (12:07 +0000)
ares/ares_version.c
ares/ares_version.h

index 04b269e2850d7fd4539f3a90fab343e6cf529a11..2dbbc07e2f46e49d36d0856d2c3b9cd5b3994f4c 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "ares_version.h"
 
-char *ares_version(int *version)
+const char *ares_version(int *version)
 {
   if(version)
     *version = ARES_VERSION;
index b99fa1b25f17ca2761e4e95737d94bb10491c74c..0850f9ad406dd0501bfa395cfcd2508f55143e28 100644 (file)
@@ -11,7 +11,7 @@
                        (ARES_VERSION_PATCH))
 #define ARES_VERSION_STR "1.0.0"
 
-char *ares_version(int *version);
+const char *ares_version(int *version);
 
 #endif