From b3851363ba8df0b3f55ecb358849a212db4b12a8 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 25 May 2004 22:00:14 +0300 Subject: Added patches from Novell Build-tools/Do-compile: Fixed indentation configure.in: Added patches from Novell Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS extra/perror.c: Fixed error number reporting to not report 'Unknown error' include/my_global.h: Defines to make NETWARE patches cleaner include/thr_alarm.h: Fixed wrong macro netware/mysql_install_db.c: Indentation fix --- client/mysqlshow.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/mysqlshow.c') diff --git a/client/mysqlshow.c b/client/mysqlshow.c index ccae43e4e27..1a9aec02955 100644 --- a/client/mysqlshow.c +++ b/client/mysqlshow.c @@ -182,12 +182,16 @@ static struct my_option my_long_options[] = }; +#include + static void print_version(void) { printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,SHOW_VERSION, MYSQL_SERVER_VERSION,SYSTEM_TYPE,MACHINE_TYPE); + NETWARE_SET_SCREEN_MODE(1); } + static void usage(void) { print_version(); @@ -207,6 +211,8 @@ are shown"); my_print_variables(my_long_options); } +#include + static my_bool get_one_option(int optid, const struct my_option *opt __attribute__((unused)), char *argument) -- cgit v1.2.1