diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-09-11 16:04:56 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-09-11 16:04:56 +0000 |
commit | 0ccfef16a38c5237efb5321e5f27cdcca13fa638 (patch) | |
tree | 7b1b259b9bc961351608a3129b7b2cf698e7f555 /sys/netatalk | |
parent | 97c59ad2c787189e21c427bb1f837cfa1d1f4423 (diff) | |
download | FreeBSD-src-0ccfef16a38c5237efb5321e5f27cdcca13fa638.zip FreeBSD-src-0ccfef16a38c5237efb5321e5f27cdcca13fa638.tar.gz |
Forward declare atalkdomain with static linkage, not extern, since
it is defined with static linkage later in the file. Eliminates
GCC 4.0 error.
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/at_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/at_proto.c b/sys/netatalk/at_proto.c index 1060ca3..d5edfc0 100644 --- a/sys/netatalk/at_proto.c +++ b/sys/netatalk/at_proto.c @@ -36,7 +36,7 @@ #include <netatalk/ddp_var.h> #include <netatalk/at_extern.h> -extern struct domain atalkdomain; +static struct domain atalkdomain; static struct protosw atalksw[] = { { |