~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/getopt.c

  • Committer: Monty Taylor
  • Date: 2009-04-25 20:45:19 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090425204519-lgrl7mz2r66v0jby
Blackhole.

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