diff options
author | John Gilmore <gnu@cygnus> | 1991-11-22 19:09:03 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-22 19:09:03 +0000 |
commit | f8adc62df477edf69a97e91aa53ebefdb9a76dae (patch) | |
tree | aebcd0f4e6034526bb1ab6098c4bb820060120c9 /bfd/bfd.c | |
parent | 3f73352f9061aff935a4dd2a693d877747edea53 (diff) | |
download | gdb-f8adc62df477edf69a97e91aa53ebefdb9a76dae.zip gdb-f8adc62df477edf69a97e91aa53ebefdb9a76dae.tar.gz gdb-f8adc62df477edf69a97e91aa53ebefdb9a76dae.tar.bz2 |
const lint
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r-- | bfd/bfd.c | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -166,7 +166,7 @@ $}; extern char *strerror(); -short _bfd_host_big_endian = 0x0100; +CONST short _bfd_host_big_endian = 0x0100; /* Accessing the above as (*(char*)&_bfd_host_big_endian), will return 1 if the host is big-endian, 0 otherwise. (assuming that a short is two bytes long!!! FIXME) @@ -279,18 +279,17 @@ get_reloc_upper_bound (abfd, asect) } unsigned int -bfd_canonicalize_reloc (abfd, asect, location, symbols) - bfd *abfd; - sec_ptr asect; - arelent **location; - asymbol **symbols; +DEFUN(bfd_canonicalize_reloc,(abfd, asect, location, symbols), + bfd *abfd AND + sec_ptr asect AND + arelent **location AND + asymbol **symbols) { - if (abfd->format != bfd_object) { - bfd_error = invalid_operation; - return 0; - } - - return BFD_SEND (abfd, _bfd_canonicalize_reloc, (abfd, asect, location, symbols)); + if (abfd->format != bfd_object) { + bfd_error = invalid_operation; + return 0; + } + return BFD_SEND (abfd, _bfd_canonicalize_reloc, (abfd, asect, location, symbols)); } |