OSDN Git Service

nptl: fix a few more old style prototypes
authorAustin Foxley <austinf@cetoncorp.com>
Sat, 23 Jan 2010 17:26:48 +0000 (09:26 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Sat, 23 Jan 2010 17:26:48 +0000 (09:26 -0800)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libpthread/nptl/sysdeps/pthread/timer_create.c
libpthread/nptl/sysdeps/pthread/timer_delete.c

index 2809ac7..ae82c5a 100644 (file)
 
 /* Create new per-process timer using CLOCK.  */
 int
-timer_create (clock_id, evp, timerid)
-     clockid_t clock_id;
-     struct sigevent *evp;
-     timer_t *timerid;
+timer_create (
+     clockid_t clock_id,
+     struct sigevent *evp,
+     timer_t *timerid)
 {
   int retval = -1;
   struct timer_node *newtimer = NULL;
index 48ba1f2..4c53112 100644 (file)
@@ -27,8 +27,8 @@
 
 /* Delete timer TIMERID.  */
 int
-timer_delete (timerid)
-     timer_t timerid;
+timer_delete (
+     timer_t timerid)
 {
   struct timer_node *timer;
   int retval = -1;