Răsfoiți Sursa

Staging: pohmelfs: 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>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Tobias Klauser 16 ani în urmă
părinte
comite
80fe3e5ddb
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/staging/pohmelfs/inode.c

+ 1 - 1
drivers/staging/pohmelfs/inode.c

@@ -943,7 +943,7 @@ err_out_unlock:
 	return ret;
 }
 
-const static struct file_operations pohmelfs_file_ops = {
+static const struct file_operations pohmelfs_file_ops = {
 	.open		= generic_file_open,
 	.fsync		= pohmelfs_fsync,