diff options
author | Jim Meyering <meyering@redhat.com> | 2009-06-17 10:21:31 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-24 15:04:44 +0200 |
commit | 91d1b4a25cde7d41f92f48ed5a5679bee0831892 (patch) | |
tree | 57d19599773d2f583d9ae58caf38d9404c896d7f /partprobe | |
parent | 182075f601943c69ca499f19f3f8d1f77379855f (diff) | |
download | parted-91d1b4a25cde7d41f92f48ed5a5679bee0831892.tar.gz |
build: avoid new warnings
* debug/clearfat/clearfat.c (usage): Declare static.
* partprobe/partprobe.c (usage): Likewise.
* libparted/cs/natmath.c (abs_mod, extended_euclid): Declare static.
* libparted/timer.c (PED_TIMER_START_DELAY): Remove unused definition.
* libparted/unit.c (ped_unit_format_custom_byte): Remove an unnecessary
cast-to-double.
Diffstat (limited to 'partprobe')
-rw-r--r-- | partprobe/partprobe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/partprobe/partprobe.c b/partprobe/partprobe.c index 75f7399..70cab96 100644 --- a/partprobe/partprobe.c +++ b/partprobe/partprobe.c @@ -1,6 +1,6 @@ /* partprobe - informs the OS kernel of partition layout - Copyright (C) 2001, 2002, 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2007-2009 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -130,7 +130,7 @@ error: return 0; } -void +static void usage (int status) { if (status != EXIT_SUCCESS) |