aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-02-22 19:43:28 +0000
committerKarl Heuer1994-02-22 19:43:28 +0000
commit431652420495ef778e9ea468b29dfce3d6f38f9b (patch)
treed8ec964ef0973a565e40a22040824b450a0f1740 /src
parentbae98299b4c554fdaaf97c690e7f148b60dedfea (diff)
downloademacs-431652420495ef778e9ea468b29dfce3d6f38f9b.tar.gz
emacs-431652420495ef778e9ea468b29dfce3d6f38f9b.zip
Move extern declarations to top of file.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/emacs.c b/src/emacs.c
index d80a2439b2c..8352a92b18d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -53,6 +53,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
53#define O_RDWR 2 53#define O_RDWR 2
54#endif 54#endif
55 55
56extern void malloc_warning ();
57extern char *index ();
58extern char *strerror ();
59
56/* Command line args from shell, as list of strings */ 60/* Command line args from shell, as list of strings */
57Lisp_Object Vcommand_line_args; 61Lisp_Object Vcommand_line_args;
58 62
@@ -340,8 +344,6 @@ main (argc, argv, envp)
340 int skip_args = 0; 344 int skip_args = 0;
341 extern int errno; 345 extern int errno;
342 extern sys_nerr; 346 extern sys_nerr;
343 extern char *strerror ();
344 extern void malloc_warning ();
345 347
346/* Map in shared memory, if we are using that. */ 348/* Map in shared memory, if we are using that. */
347#ifdef HAVE_SHM 349#ifdef HAVE_SHM
@@ -881,7 +883,6 @@ This function exists on systems that use HAVE_SHM.")
881{ 883{
882 extern int my_edata; 884 extern int my_edata;
883 Lisp_Object tem; 885 Lisp_Object tem;
884 extern void malloc_warning ();
885 886
886 CHECK_STRING (intoname, 0); 887 CHECK_STRING (intoname, 0);
887 intoname = Fexpand_file_name (intoname, Qnil); 888 intoname = Fexpand_file_name (intoname, Qnil);
@@ -917,7 +918,6 @@ and announce itself normally when it is run.")
917{ 918{
918 extern int my_edata; 919 extern int my_edata;
919 Lisp_Object tem; 920 Lisp_Object tem;
920 extern void malloc_warning ();
921 921
922 CHECK_STRING (intoname, 0); 922 CHECK_STRING (intoname, 0);
923 intoname = Fexpand_file_name (intoname, Qnil); 923 intoname = Fexpand_file_name (intoname, Qnil);
@@ -962,7 +962,6 @@ decode_env_path (evarname, defalt)
962 char *evarname, *defalt; 962 char *evarname, *defalt;
963{ 963{
964 register char *path, *p; 964 register char *path, *p;
965 extern char *index ();
966 965
967 Lisp_Object lpath; 966 Lisp_Object lpath;
968 967