Browse Source

libtt: resolve implicit delaration of free() and exit() warnings

Peter Howkins 11 years ago
parent
commit
8a78cc767e

+ 1 - 0
cde/lib/tt/mini_isam/isbytearray.c

@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)isbytearray.c 1.3 89/07/17 Copyr 1988 Sun Micro";
  *	Byte array handling functions.
  *
  */
+#include <stdlib.h>
 
 #include "isam_impl.h"
 

+ 1 - 0
cde/lib/tt/mini_isam/iserror.c

@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)iserror.c 1.10 89/07/17 Copyr 1988 Sun Micro";
 
 #include "isam_impl.h"
 #include <errno.h>
+#include <stdlib.h>
 #include <syslog.h>
 #ifdef __ultrix__
 #define LOG_USER LOG_INFO

+ 1 - 0
cde/lib/tt/mini_isam/isfab.c

@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)isfab.c 1.8 89/07/17 Copyr 1988 Sun Micro";
  *	The ISAM file access block functions.
  *
  */
+#include <stdlib.h>
 
 #include "isam_impl.h"
 

+ 1 - 1
cde/lib/tt/mini_isam/isfcb.c

@@ -40,7 +40,7 @@ static char sccsid[] = "@(#)isfcb.c 1.9 89/07/17 Copyr 1988 Sun Micro";
  *	
  *
  */
-
+#include <stdlib.h>
 #include "isam_impl.h"
 #include <sys/stat.h>
 

+ 1 - 0
cde/lib/tt/mini_isam/issort.c

@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)issort.c 1.3 89/07/17 Copyr 1988 Sun Micro";
  * Description:
  *	ISAM sort package (sort in memory)
  */
+#include <stdlib.h>
 
 #include "isam_impl.h"