changeset 1070:b0f508376593

(__main): New dummy function. (__do_global_ctors, __do_global_ctors_aux): New dummy fns. (__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Sep 1992 04:05:47 +0000
parents ee559fe0f1ab
children 53ad9fa87f71
files src/emacs.c
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Wed Sep 02 02:46:03 1992 +0000
+++ b/src/emacs.c	Wed Sep 02 04:05:47 1992 +0000
@@ -188,12 +188,14 @@
    Provide dummy definitions to avoid error.
    (We don't have any real constructors or destructors.)  */
 #ifdef __GNUC__
-__do_clobal_ctors ()
+__do_global_ctors ()
+{}
+__do_global_ctors_aux ()
 {}
-__do_clobal_ctors_aux ()
+char * __CTOR_LIST__[2] = { (char *) (-1), 0 };
+char * __DTOR_LIST__[2] = { (char *) (-1), 0 };
+__main ()
 {}
-char * __CTOR_LIST__[1] = { (char *) (-1) };
-char * __DTOR_LIST__[1] = { (char *) (-1) };
 #endif /* __GNUC__ */
 
 /* ARGSUSED */