Signed-off-by: Sami Kerola <kerolasa@iki.fi>
#include "ttyutils.h"
#include "xalloc.h"
-const char *progname = "blkid";
-
int raw_chars;
static void print_version(FILE *out)
" -O <offset> probe at the given offset\n"
" -u <list> filter by \"usage\" (e.g. -u filesystem,raid)\n"
" -n <list> filter by filesystem type (e.g. -n vfat,ext3)\n"
- "\n", progname);
+ "\n", program_invocation_short_name);
exit(error);
}
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);
# define TIOCSETD 0x5423
#endif
-static const char *progname;
static int debug = 0;
struct ld_table {
atexit(close_stdout);
/* parse options */
- progname = program_invocation_short_name;
-
if (argc == 0)
usage(EXIT_SUCCESS);
while ((optc =