mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-01 06:12:31 +00:00
Remove prototypes for getenv. Use stdlib.h. (#122)
This also removes some casts to `char *` that were present but not needed, since `getenv()` is defined to return `char *`.
This commit is contained in:
@@ -31,6 +31,7 @@ Unix Interface Communications
|
||||
#include <setjmp.h> /* JRB - timeout.h needs setjmp.h */
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/ioctl.h>
|
||||
@@ -258,7 +259,7 @@ void close_unix_descriptors(void) /* Get ready to shut Maiko down */
|
||||
/************************************************************************/
|
||||
|
||||
int FindUnixPipes(void) {
|
||||
char *envtmp, *getenv(const char *);
|
||||
char *envtmp;
|
||||
register int i;
|
||||
struct unixjob cleareduj;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user