Skip to content
Snippets Groups Projects
Commit d50b209a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

return a const char *

parent 62e0f10e
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
#include "ares_version.h"
char *ares_version(int *version)
const char *ares_version(int *version)
{
if(version)
*version = ARES_VERSION;
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment