dect
/
asterisk
Archived
13
0
Fork 0

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

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13629 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-03-19 21:28:55 +00:00
parent b35095d70b
commit 63e2848d64
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
}