Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys KNF.



details:   https://anonhg.NetBSD.org/src/rev/3e651d370907
branches:  trunk
changeset: 494788:3e651d370907
user:      kleink <kleink%NetBSD.org@localhost>
date:      Fri Jul 14 07:36:32 2000 +0000

description:
KNF.

diffstat:

 lib/libc/sys/timer_create.c     |  5 +++--
 lib/libc/sys/timer_delete.c     |  5 +++--
 lib/libc/sys/timer_getoverrun.c |  5 +++--
 lib/libc/sys/timer_gettime.c    |  5 +++--
 lib/libc/sys/timer_settime.c    |  5 +++--
 5 files changed, 15 insertions(+), 10 deletions(-)

diffs (108 lines):

diff -r 7a5cafd5cf1e -r 3e651d370907 lib/libc/sys/timer_create.c
--- a/lib/libc/sys/timer_create.c       Fri Jul 14 07:21:50 2000 +0000
+++ b/lib/libc/sys/timer_create.c       Fri Jul 14 07:36:32 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: timer_create.c,v 1.3 1998/11/15 17:23:00 christos Exp $        */
+/*     $NetBSD: timer_create.c,v 1.4 2000/07/14 07:36:32 kleink Exp $  */
 
+#include <errno.h>
 #include <signal.h>
 #include <time.h>
-#include <errno.h>
 
 /* ARGSUSED */
 int
@@ -11,6 +11,7 @@
        struct sigevent *evp;
        timer_t *timerid;
 {
+
        errno = ENOSYS;
        return -1;
 }
diff -r 7a5cafd5cf1e -r 3e651d370907 lib/libc/sys/timer_delete.c
--- a/lib/libc/sys/timer_delete.c       Fri Jul 14 07:21:50 2000 +0000
+++ b/lib/libc/sys/timer_delete.c       Fri Jul 14 07:36:32 2000 +0000
@@ -1,14 +1,15 @@
-/*     $NetBSD: timer_delete.c,v 1.3 1998/11/15 17:23:00 christos Exp $        */
+/*     $NetBSD: timer_delete.c,v 1.4 2000/07/14 07:36:32 kleink Exp $  */
 
+#include <errno.h>
 #include <signal.h>
 #include <time.h>
-#include <errno.h>
 
 /* ARGSUSED */
 int
 timer_delete(timerid)
        timer_t timerid;
 {
+
        errno = ENOSYS;
        return -1;
 }
diff -r 7a5cafd5cf1e -r 3e651d370907 lib/libc/sys/timer_getoverrun.c
--- a/lib/libc/sys/timer_getoverrun.c   Fri Jul 14 07:21:50 2000 +0000
+++ b/lib/libc/sys/timer_getoverrun.c   Fri Jul 14 07:36:32 2000 +0000
@@ -1,14 +1,15 @@
-/*     $NetBSD: timer_getoverrun.c,v 1.3 1998/11/15 17:23:00 christos Exp $    */
+/*     $NetBSD: timer_getoverrun.c,v 1.4 2000/07/14 07:36:32 kleink Exp $      */
 
+#include <errno.h>
 #include <signal.h>
 #include <time.h>
-#include <errno.h>
 
 /* ARGSUSED */
 int
 timer_getoverrun(timerid)
        timer_t timerid;
 {
+
        errno = ENOSYS;
        return -1;
 }
diff -r 7a5cafd5cf1e -r 3e651d370907 lib/libc/sys/timer_gettime.c
--- a/lib/libc/sys/timer_gettime.c      Fri Jul 14 07:21:50 2000 +0000
+++ b/lib/libc/sys/timer_gettime.c      Fri Jul 14 07:36:32 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: timer_gettime.c,v 1.3 1998/11/15 17:23:00 christos Exp $       */
+/*     $NetBSD: timer_gettime.c,v 1.4 2000/07/14 07:36:32 kleink Exp $ */
 
+#include <errno.h>
 #include <signal.h>
 #include <time.h>
-#include <errno.h>
 
 /* ARGSUSED */
 int
@@ -10,6 +10,7 @@
        timer_t timerid;
        struct itimerspec *value;
 {
+
        errno = ENOSYS;
        return -1;
 }
diff -r 7a5cafd5cf1e -r 3e651d370907 lib/libc/sys/timer_settime.c
--- a/lib/libc/sys/timer_settime.c      Fri Jul 14 07:21:50 2000 +0000
+++ b/lib/libc/sys/timer_settime.c      Fri Jul 14 07:36:32 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: timer_settime.c,v 1.3 1998/11/15 17:23:00 christos Exp $       */
+/*     $NetBSD: timer_settime.c,v 1.4 2000/07/14 07:36:32 kleink Exp $ */
 
+#include <errno.h>
 #include <signal.h>
 #include <time.h>
-#include <errno.h>
 
 /* ARGSUSED */
 int
@@ -12,6 +12,7 @@
        const struct itimerspec *value;
        struct itimerspec *ovalue;
 {
+
        errno = ENOSYS;
        return -1;
 }



Home | Main Index | Thread Index | Old Index