diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2008-11-21 17:56:35 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2008-11-21 17:56:35 +0000 |
commit | 070dd156775d8869751bd9b8b48fa3df30d11948 (patch) | |
tree | dcb3303b8b8fb475cc936d7781929fb53ddacad6 /sys | |
parent | e2565329eabdd1fb8e2f6aba69ffd761a88caf88 (diff) |
don't declare th0 extern before declaring it as static; makes gcc4 happy
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_tc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 2fb961dadeb..61ef7e42201 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $OpenBSD: kern_tc.c,v 1.10 2007/12/27 19:05:22 otto Exp $ + * $OpenBSD: kern_tc.c,v 1.11 2008/11/21 17:56:34 robert Exp $ * $FreeBSD: src/sys/kern/kern_tc.c,v 1.148 2003/03/18 08:45:23 phk Exp $ */ @@ -65,7 +65,7 @@ struct timehands { struct timehands *th_next; }; -extern struct timehands th0; +static struct timehands th0; static struct timehands th9 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 0, &th0}; static struct timehands th8 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 0, &th9}; static struct timehands th7 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 0, &th8}; |