1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

return a const char *

This commit is contained in:
Daniel Stenberg 2004-01-29 12:07:34 +00:00
parent 62e0f10eba
commit d50b209a7a
2 changed files with 2 additions and 2 deletions

View 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;

View 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