~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/getopt.c

  • Committer: Monty Taylor
  • Date: 2009-04-18 05:26:04 UTC
  • mto: (997.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090418052604-wjog6lrqdsc83tdi
Updated gnulib files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#ifdef _LIBC
34
34
# include <libintl.h>
35
35
#else
36
 
# include "drizzled/gettext.h"
 
36
# include "gettext.h"
 
37
# define _(msgid) gettext (msgid)
37
38
#endif
38
39
 
39
40
#if defined _LIBC && defined USE_IN_LIBIO
227
228
_getopt_initialize (int argc, char **argv, const char *optstring,
228
229
                    int posixly_correct, struct _getopt_data *d)
229
230
{
230
 
  (void) argc;
231
 
  (void) argv;
232
 
 
233
231
  /* Start processing options with ARGV-element 1 (since ARGV-element 0
234
232
     is the program name); the sequence of previously skipped
235
233
     non-option ARGV-elements is empty.  */
285
283
    }
286
284
  else
287
285
    d->__nonoption_flags_len = 0;
288
 
#else 
289
 
  (void)argc;
290
 
  (void)argv;
291
286
#endif
292
287
 
293
288
  return optstring;
1106
1101
 
1107
1102
/* glibc gets a LSB-compliant getopt.
1108
1103
   Standalone applications get a POSIX-compliant getopt.  */
1109
 
#ifdef _LIBC
 
1104
#if _LIBC
1110
1105
enum { POSIXLY_CORRECT = 0 };
1111
1106
#else
1112
1107
enum { POSIXLY_CORRECT = 1 };