aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-02-17 20:11:19 +0100
committerAdrian Bunk <bunk@stusta.de>2007-02-17 20:11:19 +0100
commitc5a69d57eb48e36f84c0737b5b24ec277d7dbfba (patch)
treea222d02f4fa9b42e78228cdb106ace4e35bd2ccc /fs
parentkernel/printk.c: comment fix (diff)
downloadlinux-dev-c5a69d57eb48e36f84c0737b5b24ec277d7dbfba.tar.xz
linux-dev-c5a69d57eb48e36f84c0737b5b24ec277d7dbfba.zip
Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifssmb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index b8e91470c27f..24364106b8f9 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -2824,10 +2824,10 @@ GetExtAttrOut:
/* security id for everyone */
-const static struct cifs_sid sid_everyone =
+static const struct cifs_sid sid_everyone =
{1, 1, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0}};
/* group users */
-const static struct cifs_sid sid_user =
+static const struct cifs_sid sid_user =
{1, 2 , {0, 0, 0, 0, 0, 5}, {32, 545, 0, 0}};
/* Convert CIFS ACL to POSIX form */