changeset 6027:f25b21c384a1

Move extern declarations to top of file.
author Karl Heuer <kwzh@gnu.org>
date Tue, 22 Feb 1994 19:43:28 +0000
parents 45b117ac2dbc
children 195ac1586632
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Feb 22 19:22:11 1994 +0000
+++ b/src/emacs.c	Tue Feb 22 19:43:28 1994 +0000
@@ -53,6 +53,10 @@
 #define O_RDWR 2
 #endif
 
+extern void malloc_warning ();
+extern char *index ();
+extern char *strerror ();
+
 /* Command line args from shell, as list of strings */
 Lisp_Object Vcommand_line_args;
 
@@ -340,8 +344,6 @@
   int skip_args = 0;
   extern int errno;
   extern sys_nerr;
-  extern char *strerror ();
-  extern void malloc_warning ();
 
 /* Map in shared memory, if we are using that.  */
 #ifdef HAVE_SHM
@@ -881,7 +883,6 @@
 {
   extern int my_edata;
   Lisp_Object tem;
-  extern void malloc_warning ();
 
   CHECK_STRING (intoname, 0);
   intoname = Fexpand_file_name (intoname, Qnil);
@@ -917,7 +918,6 @@
 {
   extern int my_edata;
   Lisp_Object tem;
-  extern void malloc_warning ();
 
   CHECK_STRING (intoname, 0);
   intoname = Fexpand_file_name (intoname, Qnil);
@@ -962,7 +962,6 @@
      char *evarname, *defalt;
 {
   register char *path, *p;
-  extern char *index ();
 
   Lisp_Object lpath;