Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/jay
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2004-05-03 09:58:25 +0400
committerPaolo Molaro <lupus@oddwiz.org>2004-05-03 09:58:25 +0400
commit5f379ccd9ffae0f33187dfd7f1917a8b2ba8ce37 (patch)
treefef6165fe2f9decc7df52c5a30f3dbdf649c0900 /mcs/jay
parent3763abdafb2c1e5f9594b015fe4bf3acb553a25a (diff)
Mon May 3 08:34:32 CEST 2004 Paolo Molaro <lupus@ximian.com>
* main.c, defs.h: use the proper header files instead of broken prototypes (thanks to Marcus for reporting). svn path=/trunk/mcs/; revision=26578
Diffstat (limited to 'mcs/jay')
-rwxr-xr-xmcs/jay/ChangeLog6
-rw-r--r--mcs/jay/defs.h15
-rw-r--r--mcs/jay/main.c2
3 files changed, 9 insertions, 14 deletions
diff --git a/mcs/jay/ChangeLog b/mcs/jay/ChangeLog
index a682607f06f..8b96dbee686 100755
--- a/mcs/jay/ChangeLog
+++ b/mcs/jay/ChangeLog
@@ -1,3 +1,9 @@
+
+Mon May 3 08:34:32 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+ * main.c, defs.h: use the proper header files instead of broken
+ prototypes (thanks to Marcus for reporting).
+
2004-03-13 Miguel de Icaza <miguel@ximian.com>
* main.c (create_file_names): Try a few temp directories, since
diff --git a/mcs/jay/defs.h b/mcs/jay/defs.h
index 8768e582276..f3679864735 100644
--- a/mcs/jay/defs.h
+++ b/mcs/jay/defs.h
@@ -39,6 +39,9 @@
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
/* machine-dependent definitions */
@@ -295,15 +298,3 @@ extern bucket *lookup();
extern bucket *make_bucket();
-/* system variables */
-
-extern int errno;
-
-
-/* system functions */
-
-extern void free();
-extern char *calloc();
-extern char *malloc();
-extern char *realloc();
-extern char *strcpy();
diff --git a/mcs/jay/main.c b/mcs/jay/main.c
index ffb930196ed..a32904594ca 100644
--- a/mcs/jay/main.c
+++ b/mcs/jay/main.c
@@ -94,8 +94,6 @@ char *nullable;
#if defined(_WIN32) && !defined(__CYGWIN32__) && !defined(__CYGWIN__)
extern char* mktemp();
#define mkstemp mktemp
-#else
-extern char *mkstemp();
#endif
extern char *getenv();