diff options
author | Sami Kerola | 2013-04-13 21:54:30 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-26 13:25:57 +0200 |
commit | d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd (patch) | |
tree | bb192b499c10c494d36865b31adc9537cf99e433 /sys-utils | |
parent | bash-completion: add mount and umount (diff) | |
download | kernel-qcow2-util-linux-d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd.tar.gz kernel-qcow2-util-linux-d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd.tar.xz kernel-qcow2-util-linux-d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd.zip |
blkid, hwclock, ldattach: use program_invocation_short_name
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils')
-rw-r--r-- | sys-utils/hwclock.h | 1 | ||||
-rw-r--r-- | sys-utils/ldattach.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index 175a6d1ae..69b0ce200 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -24,7 +24,6 @@ extern struct clock_ops *probe_for_kd_clock(void); typedef int bool; /* hwclock.c */ -extern char *progname; extern int debug; extern unsigned long epoch_option; extern double time_diff(struct timeval subtrahend, struct timeval subtractor); diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index c06aed204..5c460feef 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -42,7 +42,6 @@ # define TIOCSETD 0x5423 #endif -static const char *progname; static int debug = 0; struct ld_table { @@ -238,8 +237,6 @@ int main(int argc, char **argv) atexit(close_stdout); /* parse options */ - progname = program_invocation_short_name; - if (argc == 0) usage(EXIT_SUCCESS); while ((optc = |