]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: fix __attribute__ keyword
authorKarel Zak <kzak@redhat.com>
Tue, 17 Jan 2012 15:43:45 +0000 (16:43 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 17 Jan 2012 15:43:45 +0000 (16:43 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/fstab.c

index c6aa5889060cca4576e4b1782f58dfa0112c5517..c1acf293eb7aff15dad244a7b3cb6ec2ef132ffb 100644 (file)
@@ -1070,35 +1070,35 @@ update_mtab (const char *dir, struct my_mntent *instead) {
  *  number and writes the number back to the file.
  */
 /* dummy */
-char *fsprobe_get_label_by_devname(const char *spec __attribute((__unused__)))
+char *fsprobe_get_label_by_devname(const char *spec __attribute__((__unused__)))
 {
        return NULL;
 }
-char *fsprobe_get_uuid_by_devname(const char *spec __attribute((__unused__)))
+char *fsprobe_get_uuid_by_devname(const char *spec __attribute__((__unused__)))
 {
        return NULL;
 }
-int fsprobe_parse_spec(const char *spec __attribute((__unused__)),
-                      char **name __attribute((__unused__)),
-                      char **value __attribute((__unused__)))
+int fsprobe_parse_spec(const char *spec __attribute__((__unused__)),
+                      char **name __attribute__((__unused__)),
+                      char **value __attribute__((__unused__)))
 {
        return 0;
 }
-struct my_mntent *my_getmntent (mntFILE *mfp __attribute((__unused__)))
+struct my_mntent *my_getmntent (mntFILE *mfp __attribute__((__unused__)))
 {
        return NULL;
 }
-mntFILE *my_setmntent (const char *file __attribute((__unused__)),
-                      char *mode __attribute((__unused__)))
+mntFILE *my_setmntent (const char *file __attribute__((__unused__)),
+                      char *mode __attribute__((__unused__)))
 {
        return NULL;
 }
-void my_endmntent (mntFILE *mfp __attribute((__unused__)))
+void my_endmntent (mntFILE *mfp __attribute__((__unused__)))
 {
        /* nothing */
 }
-int my_addmntent (mntFILE *mfp __attribute((__unused__)),
-                 struct my_mntent *mnt __attribute((__unused__)))
+int my_addmntent (mntFILE *mfp __attribute__((__unused__)),
+                 struct my_mntent *mnt __attribute__((__unused__)))
 {
        return 0;
 }