diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-12-18 17:59:33 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-12-18 18:00:09 -0800 |
commit | 37e3ad9a8077636cea173c1494c744e383962255 (patch) | |
tree | 9b1fdee3a1425ba3ebe3e69f575e5756508f6ef5 /modules/argp | |
parent | b923b823d5e16f18ac4ae1b0a8f5c8a036231f8f (diff) | |
download | gnulib-37e3ad9a8077636cea173c1494c744e383962255.tar.gz |
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.
Diffstat (limited to 'modules/argp')
-rw-r--r-- | modules/argp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/argp b/modules/argp index 8d496812d8..125046ad89 100644 --- a/modules/argp +++ b/modules/argp @@ -25,6 +25,7 @@ m4/argp.m4 Depends-on: alloca dirname-lgpl +extern-inline getopt-gnu strchrnul sysexits |