Commit b4966b1b by Richard Sandiford Committed by Richard Sandiford

iris6.h: Convert to C90 prototypes.

	* config/mips/iris6.h: Convert to C90 prototypes.
	* config/mips/irix6-libc-compat.c: Likewise.
	* config/mips/mips-protos.h: Likewise.
	* config/mips/mips.c: Likewise.

From-SVN: r70389
parent aecf4109
2003-08-12 Richard Sandiford <rsandifo@redhat.com>
* config/mips/iris6.h: Convert to C90 prototypes.
* config/mips/irix6-libc-compat.c: Likewise.
* config/mips/mips-protos.h: Likewise.
* config/mips/mips.c: Likewise.
2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org> 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable
......
...@@ -287,7 +287,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -287,7 +287,7 @@ Boston, MA 02111-1307, USA. */
#undef EXTRA_SECTION_FUNCTIONS #undef EXTRA_SECTION_FUNCTIONS
#define EXTRA_SECTION_FUNCTIONS \ #define EXTRA_SECTION_FUNCTIONS \
const char * \ const char * \
current_section_name () \ current_section_name (void) \
{ \ { \
switch (in_section) \ switch (in_section) \
{ \ { \
...@@ -307,7 +307,7 @@ current_section_name () \ ...@@ -307,7 +307,7 @@ current_section_name () \
} \ } \
\ \
unsigned int \ unsigned int \
current_section_flags () \ current_section_flags (void) \
{ \ { \
switch (in_section) \ switch (in_section) \
{ \ { \
......
...@@ -69,15 +69,15 @@ Boston, MA 02111-1307, USA. */ ...@@ -69,15 +69,15 @@ Boston, MA 02111-1307, USA. */
always 32. */ always 32. */
#define SHIFT_BITS 32 #define SHIFT_BITS 32
extern machreg_t inet_ntoa PARAMS ((machreg_t)); extern machreg_t inet_ntoa (machreg_t);
extern machreg_t inet_lnaof PARAMS ((machreg_t)); extern machreg_t inet_lnaof (machreg_t);
extern machreg_t inet_netof PARAMS ((machreg_t)); extern machreg_t inet_netof (machreg_t);
extern machreg_t inet_makeaddr PARAMS ((machreg_t, machreg_t)); extern machreg_t inet_makeaddr (machreg_t, machreg_t);
extern machreg_t _inet_ntoa PARAMS ((machreg_t)); extern machreg_t _inet_ntoa (machreg_t);
extern machreg_t _inet_lnaof PARAMS ((machreg_t)); extern machreg_t _inet_lnaof (machreg_t);
extern machreg_t _inet_netof PARAMS ((machreg_t)); extern machreg_t _inet_netof (machreg_t);
extern machreg_t _inet_makeaddr PARAMS ((machreg_t, machreg_t)); extern machreg_t _inet_makeaddr (machreg_t, machreg_t);
/* <arpa/inet.h> has /* <arpa/inet.h> has
...@@ -127,8 +127,8 @@ inet_makeaddr (machreg_t net, machreg_t lna) ...@@ -127,8 +127,8 @@ inet_makeaddr (machreg_t net, machreg_t lna)
} }
#if _MIPS_SIM == _ABIN32 #if _MIPS_SIM == _ABIN32
extern machreg_t semctl PARAMS ((machreg_t, machreg_t, machreg_t, machreg_t)); extern machreg_t semctl (machreg_t, machreg_t, machreg_t, machreg_t);
extern machreg_t _semctl PARAMS ((machreg_t, machreg_t, machreg_t, machreg_t)); extern machreg_t _semctl (machreg_t, machreg_t, machreg_t, machreg_t);
/* <sys/sem.h> has /* <sys/sem.h> has
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment