summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-05-11 21:11:41 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-11 21:11:41 -0700
commit6b5cbfd912e2e5e1b49b543f7e6ab2126c5a212e (patch)
tree8ca69dd446b7c97ed50c6958d704282cd40f7445 /include
parent5a3ff5c474b5b1262092c08b8610635c8c7d9f8f (diff)
Use '#ifdef' to test for CONFIG_xxx variables, instead of
depending on undefined preprocessor symbols evaluating to zero. Make panic.c use proper function prototypes.
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs_sb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 816d447df238..9cf1491f5ff9 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -27,7 +27,7 @@ struct nfs_server {
char * hostname; /* remote hostname */
struct nfs_fh fh;
struct sockaddr_in addr;
-#if CONFIG_NFS_V4
+#ifdef CONFIG_NFS_V4
/* Our own IP address, as a null-terminated string.
* This is used to generate the clientid, and the callback address.
*/