diff options
author | Michael Brown | 2006-04-24 20:31:37 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-24 20:31:37 +0200 |
commit | 832e86246b37c78466a5a30159bed48ed59eb811 (patch) | |
tree | c931cdff0738445ba4b5d432784ac11af323b35a /src/proto/nfs.c | |
parent | (librm_base-1b) is already an offset; no need to apply OFFSET(). (diff) | |
download | ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.gz ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.xz ipxe-832e86246b37c78466a5a30159bed48ed59eb811.zip |
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
Diffstat (limited to 'src/proto/nfs.c')
-rw-r--r-- | src/proto/nfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/nfs.c b/src/proto/nfs.c index 828aa871..ebcca737 100644 --- a/src/proto/nfs.c +++ b/src/proto/nfs.c @@ -610,7 +610,7 @@ nfssymlink: INIT_FN ( INIT_RPC, rpc_init, nfs_reset, nfs_reset ); -static struct protocol nfs_protocol __protocol = { +struct protocol nfs_protocol __protocol = { .name = "nfs", .default_port = SUNRPC_PORT, .load = nfs, |