summaryrefslogtreecommitdiff
path: root/poptparse.c
diff options
context:
space:
mode:
authorjbj <jbj>2008-03-08 17:26:30 +0000
committerjbj <jbj>2008-03-08 17:26:30 +0000
commite558411798b45abeddd686bfc4c122ab6132f58e (patch)
tree32d22a80115877744eb5434942a72c5924c61657 /poptparse.c
parent04f0481b2d1156e28fff2a8039dac6befa6dacb5 (diff)
downloadlibpopt-e558411798b45abeddd686bfc4c122ab6132f58e.tar.gz
- jbj: test for <glob.h>, disable reading directory poptrc files if not.
- jbj: add __attribute__(__unused__) (Wayne Davidson<wayned@samba.org>). - jbj: permit equal after short option (Wayne Davidson<wayned@samba.org>).
Diffstat (limited to 'poptparse.c')
-rw-r--r--poptparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/poptparse.c b/poptparse.c
index eaf8427..f203743 100644
--- a/poptparse.c
+++ b/poptparse.c
@@ -126,7 +126,8 @@ exit:
* 2== line to long
* 3== umm.... more?
*/
-int poptConfigFileToString(FILE *fp, char ** argstrp, /*@unused@*/ int flags)
+int poptConfigFileToString(FILE *fp, char ** argstrp,
+ /*@unused@*/ UNUSED(int flags))
{
char line[999];
char * argstr;