fix the return value for the provided unsetenv() for Solaris

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 19 years ago
parent a3fe92b352
commit 4c82ac2e7a

@ -42,5 +42,5 @@ typedef unsigned int u_int32_t;
char* strsep(char** str, const char* delims);
int setenv(const char *name, const char *value, int overwrite);
int unsetenv(const char *name);
void unsetenv(const char *name);
#endif

@ -50,8 +50,8 @@ int setenv(const char *name, const char *value, int overwrite)
return ret;
}
int unsetenv(const char *name)
void unsetenv(const char *name)
{
setenv(name,"",0);
setenv(name, "", 0);
}

Loading…
Cancel
Save