Mercurial > hg > octave-kai > gnulib-hg
annotate lib/argp-namefrob.h @ 6624:ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
author | Sergey Poznyakoff <gray@gnu.org.ua> |
---|---|
date | Tue, 07 Feb 2006 13:35:29 +0000 |
parents | 959e130e3011 |
children | 44ae9a87568c |
rev | line source |
---|---|
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 /* Name frobnication for compiling argp outside of glibc |
4767 | 2 Copyright (C) 1997, 2003 Free Software Foundation, Inc. |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 This file is part of the GNU C Library. |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 Written by Miles Bader <miles@gnu.ai.mit.edu>. |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 |
4419
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
6 This program is free software; you can redistribute it and/or modify |
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
7 it under the terms of the GNU General Public License as published by |
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
8 the Free Software Foundation; either version 2, or (at your option) |
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
9 any later version. |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 |
4419
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
11 This program is distributed in the hope that it will be useful, |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
4419
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
14 GNU General Public License for more details. |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 |
4419
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
16 You should have received a copy of the GNU General Public License along |
9b828c973b9d
Get lib/argp* from glibc.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4385
diff
changeset
|
17 with this program; if not, write to the Free Software Foundation, |
5978 | 18 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 #if !_LIBC |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
21 /* This code is written for inclusion in gnu-libc, and uses names in the |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
22 namespace reserved for libc. If we're not compiling in libc, define those |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
23 names to be the normal ones instead. */ |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
24 |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
25 /* argp-parse functions */ |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
26 #undef __argp_parse |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
27 #define __argp_parse argp_parse |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 #undef __option_is_end |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
29 #define __option_is_end _option_is_end |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
30 #undef __option_is_short |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
31 #define __option_is_short _option_is_short |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
32 #undef __argp_input |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
33 #define __argp_input _argp_input |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
34 |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
35 /* argp-help functions */ |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
36 #undef __argp_help |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
37 #define __argp_help argp_help |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
38 #undef __argp_error |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
39 #define __argp_error argp_error |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
40 #undef __argp_failure |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
41 #define __argp_failure argp_failure |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
42 #undef __argp_state_help |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
43 #define __argp_state_help argp_state_help |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
44 #undef __argp_usage |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
45 #define __argp_usage argp_usage |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
46 |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
47 /* argp-fmtstream functions */ |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
48 #undef __argp_make_fmtstream |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
49 #define __argp_make_fmtstream argp_make_fmtstream |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
50 #undef __argp_fmtstream_free |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
51 #define __argp_fmtstream_free argp_fmtstream_free |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
52 #undef __argp_fmtstream_putc |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
53 #define __argp_fmtstream_putc argp_fmtstream_putc |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
54 #undef __argp_fmtstream_puts |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
55 #define __argp_fmtstream_puts argp_fmtstream_puts |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
56 #undef __argp_fmtstream_write |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
57 #define __argp_fmtstream_write argp_fmtstream_write |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
58 #undef __argp_fmtstream_printf |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
59 #define __argp_fmtstream_printf argp_fmtstream_printf |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
60 #undef __argp_fmtstream_set_lmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
61 #define __argp_fmtstream_set_lmargin argp_fmtstream_set_lmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
62 #undef __argp_fmtstream_set_rmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
63 #define __argp_fmtstream_set_rmargin argp_fmtstream_set_rmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
64 #undef __argp_fmtstream_set_wmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
65 #define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
66 #undef __argp_fmtstream_point |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
67 #define __argp_fmtstream_point argp_fmtstream_point |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
68 #undef __argp_fmtstream_update |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
69 #define __argp_fmtstream_update _argp_fmtstream_update |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
70 #undef __argp_fmtstream_ensure |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
71 #define __argp_fmtstream_ensure _argp_fmtstream_ensure |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
72 #undef __argp_fmtstream_lmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
73 #define __argp_fmtstream_lmargin argp_fmtstream_lmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
74 #undef __argp_fmtstream_rmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
75 #define __argp_fmtstream_rmargin argp_fmtstream_rmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
76 #undef __argp_fmtstream_wmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
77 #define __argp_fmtstream_wmargin argp_fmtstream_wmargin |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
78 |
4888 | 79 #include "mempcpy.h" |
80 #include "strcase.h" | |
81 #include "strchrnul.h" | |
82 #include "strndup.h" | |
83 | |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
84 /* normal libc functions we call */ |
4767 | 85 #undef __flockfile |
86 #define __flockfile flockfile | |
87 #undef __funlockfile | |
88 #define __funlockfile funlockfile | |
89 #undef __mempcpy | |
90 #define __mempcpy mempcpy | |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
91 #undef __sleep |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
92 #define __sleep sleep |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
93 #undef __strcasecmp |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
94 #define __strcasecmp strcasecmp |
4767 | 95 #undef __strchrnul |
96 #define __strchrnul strchrnul | |
97 #undef __strerror_r | |
98 #define __strerror_r strerror_r | |
99 #undef __strndup | |
100 #define __strndup strndup | |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
101 #undef __vsnprintf |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
102 #define __vsnprintf vsnprintf |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
103 |
5978 | 104 #if defined(HAVE_DECL_CLEARERR_UNLOCKED) && !HAVE_DECL_CLEARERR_UNLOCKED |
105 # define clearerr_unlocked(x) clearerr (x) | |
106 #endif | |
107 #if defined(HAVE_DECL_FEOF_UNLOCKED) && !HAVE_DECL_FEOF_UNLOCKED | |
108 # define feof_unlocked(x) feof (x) | |
109 # endif | |
110 #if defined(HAVE_DECL_FERROR_UNLOCKED) && !HAVE_DECL_FERROR_UNLOCKED | |
111 # define ferror_unlocked(x) ferror (x) | |
112 # endif | |
113 #if defined(HAVE_DECL_FFLUSH_UNLOCKED) && !HAVE_DECL_FFLUSH_UNLOCKED | |
114 # define fflush_unlocked(x) fflush (x) | |
115 # endif | |
116 #if defined(HAVE_DECL_FGETS_UNLOCKED) && !HAVE_DECL_FGETS_UNLOCKED | |
117 # define fgets_unlocked(x,y,z) fgets (x,y,z) | |
118 # endif | |
119 #if defined(HAVE_DECL_FPUTC_UNLOCKED) && !HAVE_DECL_FPUTC_UNLOCKED | |
120 # define fputc_unlocked(x,y) fputc (x,y) | |
121 # endif | |
122 #if defined(HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED | |
123 # define fputs_unlocked(x,y) fputs (x,y) | |
124 # endif | |
125 #if defined(HAVE_DECL_FREAD_UNLOCKED) && !HAVE_DECL_FREAD_UNLOCKED | |
126 # define fread_unlocked(w,x,y,z) fread (w,x,y,z) | |
127 # endif | |
128 #if defined(HAVE_DECL_FWRITE_UNLOCKED) && !HAVE_DECL_FWRITE_UNLOCKED | |
129 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) | |
130 # endif | |
131 #if defined(HAVE_DECL_GETC_UNLOCKED) && !HAVE_DECL_GETC_UNLOCKED | |
132 # define getc_unlocked(x) getc (x) | |
133 # endif | |
134 #if defined(HAVE_DECL_GETCHAR_UNLOCKED) && !HAVE_DECL_GETCHAR_UNLOCKED | |
135 # define getchar_unlocked() getchar () | |
136 # endif | |
137 #if defined(HAVE_DECL_PUTC_UNLOCKED) && !HAVE_DECL_PUTC_UNLOCKED | |
138 # define putc_unlocked(x,y) putc (x,y) | |
139 # endif | |
140 #if defined(HAVE_DECL_PUTCHAR_UNLOCKED) && !HAVE_DECL_PUTCHAR_UNLOCKED | |
141 # define putchar_unlocked(x) putchar (x) | |
142 # endif | |
143 | |
6624
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
144 /* GNULIB makes sure both program_invocation_name and |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
145 program_invocation_short_name are available */ |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
146 #ifdef GNULIB_PROGRAM_INVOCATION_NAME |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
147 extern char *program_invocation_name; |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
148 # undef HAVE_DECL_PROGRAM_INVOCATION_NAME |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
149 # define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
150 #endif |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
151 |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
152 #ifdef GNULIB_PROGRAM_INVOCATION_SHORT_NAME |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
153 extern char *program_invocation_short_name; |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
154 # undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
155 # define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1 |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
156 #endif |
ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6609
diff
changeset
|
157 |
4385
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
158 #endif /* !_LIBC */ |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
159 |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
160 #ifndef __set_errno |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
161 #define __set_errno(e) (errno = (e)) |
1c170fb33fa6
argp facility from glibc-20030610.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
162 #endif |
4767 | 163 |
6578
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
164 #if defined GNULIB_ARGP_DISABLE_DIRNAME |
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
165 # define __argp_base_name(arg) arg |
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
166 #elif defined GNULIB_ARGP_EXTERN_BASENAME |
6609 | 167 extern char *__argp_base_name(const char *arg); |
6578
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
168 #else |
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
169 # include "dirname.h" |
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
170 # define __argp_base_name base_name |
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
171 #endif |
a3d505d6dd7a
(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff <gray@gnu.org.ua>
parents:
6487
diff
changeset
|
172 |
4767 | 173 #if defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME |
174 # define __argp_short_program_name() (program_invocation_short_name) | |
175 #else | |
176 extern char *__argp_short_program_name (void); | |
177 #endif |