You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
713 B
35 lines
713 B
Index: unixos.c |
|
--- unixos.c.orig 2003-07-21 22:54:05.000000000 +0200 |
|
+++ unixos.c 2004-05-08 14:40:53.000000000 +0200 |
|
@@ -23,6 +23,7 @@ |
|
* SOFTWARE. |
|
*/ |
|
#include <stdio.h> |
|
+#include <stdlib.h> |
|
#include <ctype.h> |
|
#include <string.h> |
|
#include <errno.h> |
|
@@ -38,10 +39,6 @@ |
|
#define MAXHOSTNAMELEN 64 |
|
#endif |
|
|
|
-extern int errno; |
|
-extern char *malloc(); |
|
-extern char *getenv(); |
|
- |
|
int overwrite_files = 0; |
|
int didchat; |
|
|
|
Index: xmalloc.c |
|
--- xmalloc.c.orig 2003-07-21 22:35:31.000000000 +0200 |
|
+++ xmalloc.c 2004-05-08 14:41:24.000000000 +0200 |
|
@@ -23,8 +23,8 @@ |
|
* SOFTWARE. |
|
*/ |
|
#include <stdio.h> |
|
+#include <stdlib.h> |
|
#include <string.h> |
|
-extern char *malloc(), *realloc(); |
|
|
|
char *xmalloc (int size) |
|
{
|
|
|