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:
parent
62e0f10eba
commit
d50b209a7a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user