]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
eject: fix compiler warning [-Wmissing-prototypes]
authorKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:55:39 +0000 (18:55 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:55:39 +0000 (18:55 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/eject.c

index fdc3402c28144c0fdf510b3393f9b0a65be0381d..c8bb6a8ccc65e6f1490febe3a782c216092b2f33 100644 (file)
@@ -907,7 +907,7 @@ done:
 
 
 /* handle -x option */
-void set_device_speed(char *name)
+static void set_device_speed(char *name)
 {
        int fd;