(m32r_handle_align): Declare type of fragp.
[deliverable/binutils-gdb.git] / gdb / ultra3-xdep.c
index 83aa7709bcdc21a2ead881510f0bb9f36832c4aa..c1b91c4b922749ac07f2e1583c669a5f4ed0eb87 100644 (file)
 
 /* FIXME: Kludge this for now. It really should be system call. */
 int
-getpagesize ()
+getpagesize (void)
 {
   return (8192);
 }
 
 /* FIXME: Fake out the fcntl() call, which we don't have.  */
-fcntl (fd, cmd, arg)
-     int fd, cmd, arg;
+fcntl (int fd, int cmd, int arg)
 {
 
   switch (cmd)
@@ -71,21 +70,19 @@ fcntl (fd, cmd, arg)
 static int _SigMask;
 #define sigbit(s)       (1L << ((s)-1))
 
-init_SigMask ()
+init_SigMask (void)
 {
   /* Taken from the sym1 kernel in machdep.c:startup() */
   _SigMask = sigbit (SIGTSTP) | sigbit (SIGTTOU) | sigbit (SIGTTIN) |
     sigbit (SIGCHLD) | sigbit (SIGTINT);
 }
 
-sigmask (signo)
-     int signo;
+sigmask (int signo)
 {
   return (1 << (signo - 1));
 }
 
-sigsetmask (sigmask)
-     unsigned int sigmask;
+sigsetmask (unsigned int sigmask)
 {
   int i, mask = 1;
   int lastmask = _SigMask;
@@ -110,8 +107,7 @@ sigsetmask (sigmask)
   return (lastmask);
 }
 
-sigblock (sigmask)
-     unsigned int sigmask;
+sigblock (unsigned int sigmask)
 {
   int i, mask = 1;
   int lastmask = _SigMask;
@@ -133,7 +129,7 @@ sigblock (sigmask)
 /* Initialization code for this module.  */
 
 void
-_initialize_ultra3 ()
+_initialize_ultra3 (void)
 {
 #ifdef SYM1
   init_SigMask ();
This page took 0.023274 seconds and 4 git commands to generate.