Mercurial > hg > xemacs-beta
comparison src/unexelf.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | 3d3049ae1304 |
children | 45609533aa75 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
433 #include <sym.h> | 433 #include <sym.h> |
434 #endif /* __sony_news && _SYSTYPE_SYSV */ | 434 #endif /* __sony_news && _SYSTYPE_SYSV */ |
435 #ifdef __sgi | 435 #ifdef __sgi |
436 #include <sym.h> /* for HDRR declaration */ | 436 #include <sym.h> /* for HDRR declaration */ |
437 #endif /* __sgi */ | 437 #endif /* __sgi */ |
438 | |
439 #include "compiler.h" | |
438 | 440 |
439 #if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__) | 441 #if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__) |
440 /* Declare COFF debugging symbol table. This used to be in | 442 /* Declare COFF debugging symbol table. This used to be in |
441 /usr/include/sym.h, but this file is no longer included in Red Hat | 443 /usr/include/sym.h, but this file is no longer included in Red Hat |
442 5.0 and presumably in any other glibc 2.x based distribution. */ | 444 5.0 and presumably in any other glibc 2.x based distribution. */ |
554 * | 556 * |
555 */ | 557 */ |
556 void unexec (char *new_name, char *old_name, unsigned int data_start, | 558 void unexec (char *new_name, char *old_name, unsigned int data_start, |
557 unsigned int bss_start, unsigned int entry_address); | 559 unsigned int bss_start, unsigned int entry_address); |
558 void | 560 void |
559 unexec (char *new_name, char *old_name, unsigned int data_start, | 561 unexec (char *new_name, char *old_name, unsigned int UNUSED (data_start), |
560 unsigned int bss_start, unsigned int entry_address) | 562 unsigned int UNUSED (bss_start), unsigned int UNUSED (entry_address)) |
561 { | 563 { |
562 int new_file, old_file, new_file_size; | 564 int new_file, old_file, new_file_size; |
563 | 565 |
564 /* Pointers to the base of the image of the two files. */ | 566 /* Pointers to the base of the image of the two files. */ |
565 caddr_t old_base, new_base; | 567 caddr_t old_base, new_base; |