1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-01 01:29:28 +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:
Bruce Mitchener
2020-12-23 22:44:16 +07:00
committed by GitHub
parent 530aa4ce6d
commit 985f2c43fe
8 changed files with 13 additions and 14 deletions

View File

@@ -44,6 +44,7 @@ unsigned long tick_count = 0; /* approx 18 ticks per sec */
#endif /* DOS */
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
@@ -102,7 +103,6 @@ extern DspInterface currentdsp;
*/
int TIMEOUT_TIME; /* For file system timeout */
char *getenv();
#ifdef XWINDOW
#define FALSE 0