Changeset 170 for trunk/src/sh_getopt.c


Ignore:
Timestamp:
Apr 30, 2008, 11:56:45 PM (17 years ago)
Author:
katerina
Message:

Plenty of compiler warnings fixed, SQL query length fixed, doc update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_getopt.c

    r169 r170  
    5252
    5353typedef struct options {
    54   char * longopt;
     54  const char * longopt;
    5555  const char   shortopt;
    56   char * usage;
     56  const char * usage;
    5757  int          hasArg;
    5858  int (*func)(const char * opt);
     
    313313
    314314
    315 static void sh_getopt_print_log_facilities ()
     315static void sh_getopt_print_log_facilities (void)
    316316{
    317317  fputs (_("Compiled-in log facilities:"), stdout);
     
    372372}
    373373
    374 static void sh_getopt_print_options ()
     374static void sh_getopt_print_options (void)
    375375{
    376376  int num = 0;
     
    484484}
    485485
    486 static void sh_getopt_print_modules ()
     486static void sh_getopt_print_modules (void)
    487487{
    488488#if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE)
     
    686686static int sh_getopt_forever (const char * dummy)
    687687{
    688   dummy = (void *) dummy;
     688  (void) dummy;
    689689  SL_ENTER(_("sh_getopt_forever"));
    690690  sh.flag.loop = S_TRUE;
Note: See TracChangeset for help on using the changeset viewer.