summaryrefslogtreecommitdiff
path: root/src/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/env.c b/src/env.c
index 7f4afe5..4d7d2aa 100644
--- a/src/env.c
+++ b/src/env.c
@@ -4,10 +4,10 @@
#include "str.h"
/**
- @file env.c
- @author djb
- @source ucspi-tcp
- @brief setting up environment after fork
+ @file env.c
+ @author djb
+ @source ucspi-tcp
+ @brief setting up environment after fork
*/
extern /*@null@*/ char *env_get(char *s)
@@ -111,7 +111,7 @@ int env_put(char *name, char *value)
return 1;
}
-int env_init()
+int env_init(void)
{
char **newenviron;
int i;
@@ -146,6 +146,7 @@ void env_clear()
else
environ = &null;
}
+
extern char *env_pick()
{
return environ[0];