summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-06-17 19:58:59 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-06-17 19:58:59 +0000
commit52e2410b2daf681c3d211d734b2e52e9dc751244 (patch)
tree9a0ed464b940045e18267d472dfd37d77f2d05d1
parent2cdc12c2e9059c3ebdec45c20be01d5f77108836 (diff)
de-register
ok henning@
-rw-r--r--sys/altq/altq_rio.c4
-rw-r--r--sys/altq/altq_rmclass.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/altq/altq_rio.c b/sys/altq/altq_rio.c
index ca789b23105..0846c2cf288 100644
--- a/sys/altq/altq_rio.c
+++ b/sys/altq/altq_rio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_rio.c,v 1.9 2003/01/07 00:29:28 cloder Exp $ */
+/* $OpenBSD: altq_rio.c,v 1.10 2007/06/17 19:58:58 jasper Exp $ */
/* $KAME: altq_rio.c,v 1.8 2000/12/14 08:12:46 thorpej Exp $ */
/*
@@ -136,7 +136,7 @@
#define RIO_STATS /* collect statistics */
#define TV_DELTA(a, b, delta) { \
- register int xxs; \
+ int xxs; \
\
delta = (a)->tv_usec - (b)->tv_usec; \
if ((xxs = (a)->tv_sec - (b)->tv_sec) != 0) { \
diff --git a/sys/altq/altq_rmclass.h b/sys/altq/altq_rmclass.h
index 1c2e8daa090..ea54282d258 100644
--- a/sys/altq/altq_rmclass.h
+++ b/sys/altq/altq_rmclass.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_rmclass.h,v 1.9 2007/02/14 00:53:47 jsg Exp $ */
+/* $OpenBSD: altq_rmclass.h,v 1.10 2007/06/17 19:58:58 jasper Exp $ */
/* $KAME: altq_rmclass.h,v 1.6 2000/12/09 09:22:44 kjc Exp $ */
/*
@@ -77,7 +77,7 @@ struct red;
(((a)->tv_usec < (b)->tv_usec) && ((a)->tv_sec <= (b)->tv_sec)))
#define TV_DELTA(a, b, delta) { \
- register int xxs; \
+ int xxs; \
\
delta = (a)->tv_usec - (b)->tv_usec; \
if ((xxs = (a)->tv_sec - (b)->tv_sec)) { \
@@ -98,7 +98,7 @@ struct red;
}
#define TV_ADD_DELTA(a, delta, res) { \
- register int xxus = (a)->tv_usec + (delta); \
+ int xxus = (a)->tv_usec + (delta); \
\
(res)->tv_sec = (a)->tv_sec; \
while (xxus >= 1000000) { \