mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-02 14:40:45 +00:00
Fix implicit declarations of library functions due to missing include string.h.
modified: ../src/gcarray.c modified: ../src/initkbd.c modified: ../src/uraid.c modified: ../src/uutils.c
This commit is contained in:
@@ -62,6 +62,9 @@ static char *id = "$Id: gcarray.c,v 1.3 1999/05/31 23:35:30 sybalsky Exp $ Copyr
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "lispmap.h"
|
#include "lispmap.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#if defined(MACOSX) || defined(FREEBSD)
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*** not currently used -FS
|
/*** not currently used -FS
|
||||||
#define min(a,b) ((a > b)?b:a)
|
#define min(a,b) ((a > b)?b:a)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ static char *id = "$Id: initkbd.c,v 1.2 1999/01/03 02:07:09 sybalsky Exp $ Copyr
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#if defined(MACOSX) || defined(FREEBSD)
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
#ifndef DOS
|
#ifndef DOS
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#endif /* DOS */
|
#endif /* DOS */
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ static char *id = "@(#) uraid.c 1.52 4/23/92 (Venue & Fuji Xerox)";
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef ISC
|
#ifdef ISC
|
||||||
#include <sys/bsdtypes.h>
|
#include <sys/bsdtypes.h>
|
||||||
@@ -68,7 +69,7 @@ extern int Win_security_p;
|
|||||||
#ifdef OS5
|
#ifdef OS5
|
||||||
#include <stropts.h>
|
#include <stropts.h>
|
||||||
#endif /* OS5 */
|
#endif /* OS5 */
|
||||||
#ifdef FREEBSD
|
#if defined(FREEBSD) || defined(MACOSX)
|
||||||
/* for memset */
|
/* for memset */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -34,12 +34,15 @@ static char *id = "$Id: uutils.c,v 1.3 1999/05/31 23:35:47 sybalsky Exp $ Copyri
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef SYSVONLY
|
#ifndef SYSVONLY
|
||||||
#if defined(DOS) || defined(MACOSX) || defined(FREEBSD)
|
#if defined(DOS)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#endif /* DOS */
|
#endif /* DOS */
|
||||||
#endif /* SYSVONLY */
|
#endif /* SYSVONLY */
|
||||||
|
#if defined(MACOSX) || defined(FREEBSD) /* we compile these with SYSVONLY but... */
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "lispemul.h"
|
#include "lispemul.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user