lib/argp.h


Log

Author Commit Date CI Message
Paul Eggert b9bfe784 2015-01-01T01:38:23 version-etc: new year * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
Eric Blake 1276a2c5 2014-01-01T00:04:40 maint: update copyright I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
Paul Eggert ece81a73 2013-08-28T18:49:38 headers: check that _GL_INLINE_HEADER_BEGIN is defined Suggested by Bruce Korb in: http://lists.gnu.org/archive/html/bug-gnulib/2013-08/msg00070.html * doc/extern-inline.texi (extern inline): Suggest checking that _GL_INLINE_HEADER_BEGIN is defined. * lib/acl-internal.h, lib/argp-fmtstream.h, lib/argp.h: * lib/binary-io.h, lib/bitrotate.h, lib/count-leading-zeros.h: * lib/count-one-bits.h, lib/eealloc.h, lib/execinfo.in.h: * lib/gethrxtime.h, lib/gl_list.h, lib/gl_oset.h, lib/gl_xlist.h: * lib/gl_xoset.h, lib/gl_xsublist.h, lib/glthread/cond.h: * lib/glthread/thread.h, lib/math.in.h, lib/mbchar.h, lib/mbfile.h: * lib/mbiter.h, lib/mbuiter.h, lib/openat.h, lib/pipe-filter-aux.h: * lib/priv-set.h, lib/pthread.in.h, lib/savewd.h, lib/se-context.in.h: * lib/se-selinux.in.h, lib/sig-handler.h, lib/stat-time.h: * lib/sys_socket.in.h, lib/timespec.h, lib/u64.h, lib/unistd.in.h: * lib/utimens.h, lib/wctype.in.h, lib/xalloc.h, lib/xsize.h: * lib/xtime.h: Check that _GL_INLINE_HEADER_BEGIN is defined.
Eric Blake 9fc81090 2013-01-01T00:50:58 maint: update all copyright year number ranges Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
Paul Eggert b7298256 2012-12-22T15:34:16 argp: port new 'inline' approach to Sun C 5.12 + Solaris 10 On this platform, we are not optimizing but we are using the substitute for extern inlines, so compile as if C99-style extern inline, or a substitute, is available. * lib/argp-fmtstream.h (argp_fmtstream_set_lmargin) (__argp_fmtstream_set_lmargin, argp_fmtstream_set_rmargin) (__argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin) (__argp_fmtstream_set_wmargin, argp_fmtstream_point) (__argp_fmtstream_point) [!_LIBC && !__OPTIMIZE__]: Declare as ARGP_FS_EI, not as extern. * lib/argp.h (argp_usage, __argp_usage, _option_is_short) (__option_is_short, _option_is_end, __option_is_end) [!_LIBC && __USE_EXTERN_INLINES]: Declare as ARGP_EI, not as extern.
Paul Eggert 37e3ad9a 2012-12-18T17:59:33 argp: better 'inline' Use extern-inline module to declare extern inline functions. This avoids some bogus warning diagnostics. Problem discovered when modifying GNU tar to use the manywarnings module. * lib/argp.h, lib/argp-xinl.c (ARGP_EI) [!_LIBC]: * lib/argp-fmtstream.h, lib/argp-fs-xinl.c (ARGP_FS_EI) [!_LIBC]: Define based on extern-inline. * modules/argp (Depends-on): Add extern-inline.
Paul Eggert a4d796fb 2012-02-05T13:42:03 maint: spelling fixes
Paul Eggert 51e801f2 2012-01-05T23:53:49 In commentary, do not use ` to quote.
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Bruno Haible f6a5a124 2011-02-13T23:21:20 Don't interfere with a program's definition of __attribute__. * lib/argp.h (__attribute__): Remove definition. (_GL_ATTRIBUTE_FORMAT): New macro. (argp_error, __argp_error, argp_failure, __argp_failure): Use it. * lib/argp-fmtstream.h (__attribute__): Remove definition. (_GL_ATTRIBUTE_FORMAT): New macro. (__argp_fmtstream_printf, argp_fmtstream_printf): Use it. * lib/argp-help.c (hol_entry_long_iterate): Use __attribute__ only for GCC 3 or newer. * lib/error.h (__attribute__): Remove definition. (_GL_ATTRIBUTE_FORMAT): New macro. (error, error_at_line): Use it. * lib/hash.h (__attribute__): Remove definition. (ATTRIBUTE_WUR): Update definition. Define always. * lib/openat.h (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. * lib/sigpipe-die.h (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. * lib/vasnprintf.h (__attribute__): Remove definition. (_GL_ATTRIBUTE_FORMAT): New macro. (asnprintf, vasnprintf): Use it. * lib/xalloc.h (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE): Define always. * lib/xmemdup0.h (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. * lib/xprintf.h (__attribute__): Remove definition. (_GL_ATTRIBUTE_FORMAT): New macro. (xprintf, xvprintf, xfprintf, xvfprintf): Use it. * lib/xstrtol.h (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. * lib/xvasprintf.h (__attribute__): Remove definition. (_GL_ATTRIBUTE_FORMAT): New macro. (xasprintf, xvasprintf): Use it. * tests/test-argmatch.c (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. * tests/test-exclude.c (__attribute__): Remove definition. (ATTRIBUTE_NORETURN): Update definition. Define always. Reported by Paul Eggert.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Bruno Haible 4a24fcd6 2010-01-19T03:15:05 Avoid a link error due to the __printf__ symbol.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Jim Meyering 3030c5b5 2009-12-28T10:50:36 update nearly all FSF copyright year lists to include 2009 The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Bruno Haible 15834b98 2008-01-13T16:51:48 Don't redefine __attribute__ without a need.
Bruno Haible 0d130620 2007-10-13T15:48:53 Prefer the ISO C99 inline semantics over the old GNU C inline semantics.
Bruno Haible 10c66621 2007-10-13T15:25:42 Handle 'inline' change in gcc 4.3.0.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible 246c84b9 2007-03-25T17:53:39 Avoid circular definition restrict -> __restrict -> restrict on BeOS.
Paul Eggert 01b89fc9 2006-12-28T23:36:43 Import the following change from libc; problem reported by Sven Verdoolaege. 2005-10-13 Ulrich Drepper <drepper@redhat.com> [BZ #1373] * lib/argp.h: Remove __NTH for __argp_usage inline function.
Bruno Haible 57260814 2006-10-23T12:07:37 Avoid clash with mingw's definition of __argc and __argv as macros.
Sergey Poznyakoff 0e7a6d56 2006-09-10T11:51:42 Move declarations of program_invocation_name and program_invocation_short_name to argp.h, so they are visible to user programs.
Sergey Poznyakoff 9b9875c6 2006-09-09T17:27:59 (struct argp_option): Document the use of N_() wrappers.
Sergey Poznyakoff 375059d6 2006-09-09T15:58:47 (struct argp): Document the N_("..") "\v" N_("..") convention. Text proposed by Bruno Haible.
Paul Eggert 83213ada 2006-01-10T21:49:07 * argp.h (__const): Remove macro. Use const instead. * argp-fmtstream.h (__const): Likewise. * glob_.h (__const): Remove macro. * glob-libc.h: Use const instead of __const.
Sergey Poznyakoff 080ae421 2005-06-16T11:52:34 (__option_is_short): Check upper limit of __key. Isprint() requires its argument to have the value of an unsigned char or EOF.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Paul Eggert f301aec3 2004-09-30T16:41:57 (OPTION_NO_TRANS): New option.
Karl Berry 702381eb 2004-09-08T13:31:45 update from libc
Karl Berry bdfb5100 2003-11-29T13:37:46 argp update from libc
Karl Berry f81666cf 2003-10-04T12:28:06 argp update from libc
Karl Berry 54b9ccdb 2003-09-19T13:21:16 argp.h update from libc
Karl Berry 79da92e2 2003-08-31T13:07:02 update from libc
Paul Eggert a82fdff5 2003-07-08T23:25:13 Get lib/argp* from glibc.
Bruno Haible 46e647a1 2003-06-10T11:19:46 argp facility from glibc-20030610.