diff options
author | obrien <obrien@FreeBSD.org> | 2005-09-07 10:06:14 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-09-07 10:06:14 +0000 |
commit | b888392910bbf46a7bf35f9715822cfd277e96a9 (patch) | |
tree | 419df19dbf78d24314ca254786a51b47f4cc0f57 /sys/netnatm | |
parent | 34dc93c2f2a2e67b9f17f39ad8552571a143e782 (diff) | |
download | FreeBSD-src-b888392910bbf46a7bf35f9715822cfd277e96a9.zip FreeBSD-src-b888392910bbf46a7bf35f9715822cfd277e96a9.tar.gz |
Forward declaring static variables as extern is invalid ISO-C. Now that
GCC can properly handle forward static declarations, do this properly.
Diffstat (limited to 'sys/netnatm')
-rw-r--r-- | sys/netnatm/natm_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c index 2627bed..6d7a951 100644 --- a/sys/netnatm/natm_proto.c +++ b/sys/netnatm/natm_proto.c @@ -52,10 +52,10 @@ __FBSDID("$FreeBSD$"); #include <netnatm/natm.h> -extern struct domain natmdomain; - static void natm_init(void); +static struct domain natmdomain; + static struct protosw natmsw[] = { { SOCK_STREAM, &natmdomain, PROTO_NATMAAL5, PR_CONNREQUIRED, 0, 0, 0, 0, |