Source-Changes-HG archive

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

[src/trunk]: src/sys/kern cosmetic - use type 'timer_t' for timerid local in ...



details:   https://anonhg.NetBSD.org/src/rev/7d31dbc7d707
branches:  trunk
changeset: 542695:7d31dbc7d707
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Feb 04 15:46:39 2003 +0000

description:
cosmetic - use type 'timer_t' for timerid local in sys_timer_create()
and sys_timer_delete()

diffstat:

 sys/kern/kern_time.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 34e50a665bf9 -r 7d31dbc7d707 sys/kern/kern_time.c
--- a/sys/kern/kern_time.c      Tue Feb 04 14:17:11 2003 +0000
+++ b/sys/kern/kern_time.c      Tue Feb 04 15:46:39 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_time.c,v 1.64 2003/02/03 23:39:41 nathanw Exp $   */
+/*     $NetBSD: kern_time.c,v 1.65 2003/02/04 15:46:39 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.64 2003/02/03 23:39:41 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.65 2003/02/04 15:46:39 jdolecek Exp $");
 
 #include "fs_nfs.h"
 #include "opt_nfs.h"
@@ -524,7 +524,8 @@
        clockid_t id;
        struct sigevent *evp;
        struct ptimer *pt;
-       int timerid, error;
+       timer_t timerid;
+       int error;
 
        id = SCARG(uap, clock_id);
        if (id < CLOCK_REALTIME ||
@@ -599,7 +600,7 @@
                syscallarg(timer_t) timerid;
        } */ *uap = v;
        struct proc *p = l->l_proc;
-       int timerid;
+       timer_t timerid;
        struct ptimer *pt, *ptn;
        int s;
 



Home | Main Index | Thread Index | Old Index