diff options
| author | Dan Nicolaescu | 2010-04-23 15:14:14 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-23 15:14:14 -0700 |
| commit | 03cbbcb8e8b107b90cad3dbef1ef7c051c384735 (patch) | |
| tree | c8d7721413331cc7e6278a6aff49f6505b474428 /src/ecrt0.c | |
| parent | 1ad4cc3d07cf1a155522f2104a43af1aeaef7ae9 (diff) | |
| download | emacs-03cbbcb8e8b107b90cad3dbef1ef7c051c384735.tar.gz emacs-03cbbcb8e8b107b90cad3dbef1ef7c051c384735.zip | |
Simplify m/intel386.h.
* m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only
user: ecrt0.c.
(SOLARIS2): Remove LOAD_AVE_TYPE, LOAD_AVE_CVT, LIBS_MACHINE, unused.
(USG5_4): Move LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE definitions to
the only user: s/unixware.h.
* ecrt0.c: Remove #ifndef static. Inline CRT0_DUMMIES definition
from m/intel386.h.
* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Definitions
moved here from m/intel386.h.
Diffstat (limited to 'src/ecrt0.c')
| -rw-r--r-- | src/ecrt0.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/ecrt0.c b/src/ecrt0.c index 0d7d26d3685..458771319c7 100644 --- a/src/ecrt0.c +++ b/src/ecrt0.c | |||
| @@ -61,15 +61,7 @@ int data_start = 0; | |||
| 61 | 61 | ||
| 62 | char **environ; | 62 | char **environ; |
| 63 | 63 | ||
| 64 | #ifndef static | ||
| 65 | /* On systems where the static storage class is usable, this function | ||
| 66 | should be declared as static. Otherwise, the static keyword has | ||
| 67 | been defined to be something else, and code for those systems must | ||
| 68 | take care of this declaration appropriately. */ | ||
| 69 | static start1 (); | 64 | static start1 (); |
| 70 | #endif | ||
| 71 | |||
| 72 | #ifdef CRT0_DUMMIES | ||
| 73 | 65 | ||
| 74 | /* Define symbol "start": here; some systems want that symbol. */ | 66 | /* Define symbol "start": here; some systems want that symbol. */ |
| 75 | asm(" .text "); | 67 | asm(" .text "); |
| @@ -83,7 +75,7 @@ _start () | |||
| 83 | } | 75 | } |
| 84 | 76 | ||
| 85 | static | 77 | static |
| 86 | start1 (CRT0_DUMMIES argc, xargv) | 78 | start1 (bogus_fp, argc, xargv) |
| 87 | int argc; | 79 | int argc; |
| 88 | char *xargv; | 80 | char *xargv; |
| 89 | { | 81 | { |
| @@ -98,7 +90,6 @@ start1 (CRT0_DUMMIES argc, xargv) | |||
| 98 | and optimize it out. */ | 90 | and optimize it out. */ |
| 99 | (void) &start1; | 91 | (void) &start1; |
| 100 | } | 92 | } |
| 101 | #endif /* CRT0_DUMMIES */ | ||
| 102 | 93 | ||
| 103 | /* arch-tag: 4025c2fb-d6b1-4d29-b1b6-8100b6bd1e74 | 94 | /* arch-tag: 4025c2fb-d6b1-4d29-b1b6-8100b6bd1e74 |
| 104 | (do not change this comment) */ | 95 | (do not change this comment) */ |