diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2005-09-07 10:06:14 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2005-09-07 10:06:14 +0000 |
commit | 5b1c0294e404d3a01f2bc8c0f2e632380f6b69cc (patch) | |
tree | 419df19dbf78d24314ca254786a51b47f4cc0f57 /sys/kern/kern_tc.c | |
parent | 8070a603b263195904c05b0a5aef8fcba6c11762 (diff) | |
download | src-5b1c0294e404d3a01f2bc8c0f2e632380f6b69cc.tar.gz src-5b1c0294e404d3a01f2bc8c0f2e632380f6b69cc.zip |
Forward declaring static variables as extern is invalid ISO-C. Now that
GCC can properly handle forward static declarations, do this properly.
Notes
Notes:
svn path=/head/; revision=149848
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index f9b54a06298b..fb06e18c0c58 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -61,7 +61,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}; |