fix K&R compilation

This commit is contained in:
Todd C. Miller
2009-03-11 23:01:10 +00:00
parent fc0ca59dbe
commit 2012ce9eab
2 changed files with 3 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ audit_failure(char **exec_args, char const *const fmt, ...)
audit_failure(exec_args, fmt, va_alist) audit_failure(exec_args, fmt, va_alist)
const char **exec_args; const char **exec_args;
char const *const fmt; char const *const fmt;
va_dcl; va_dcl
#endif #endif
{ {
va_list ap; va_list ap;

3
env.c
View File

@@ -369,7 +369,8 @@ int
#ifdef PUTENV_CONST #ifdef PUTENV_CONST
putenv(const char *string) putenv(const char *string)
#else #else
putenv(char *string) putenv(string)
char *string;
#endif #endif
{ {
if (strchr(string, '=') == NULL) { if (strchr(string, '=') == NULL) {