summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-06-17 10:21:31 +0200
committerJim Meyering <meyering@redhat.com>2009-07-24 15:04:44 +0200
commit91d1b4a25cde7d41f92f48ed5a5679bee0831892 (patch)
tree57d19599773d2f583d9ae58caf38d9404c896d7f /debug
parent182075f601943c69ca499f19f3f8d1f77379855f (diff)
downloadparted-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 'debug')
-rw-r--r--debug/clearfat/clearfat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/clearfat/clearfat.c b/debug/clearfat/clearfat.c
index 69bc357..727dca9 100644
--- a/debug/clearfat/clearfat.c
+++ b/debug/clearfat/clearfat.c
@@ -55,7 +55,7 @@
#define AUTHORS \
"<http://parted.alioth.debian.org/cgi-bin/trac.cgi/browser/AUTHORS>"
-void
+static void
usage (int status)
{
if (status != EXIT_SUCCESS)