X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37101856a6968452bdbcfefcc997738be98fafd9..f89b936801420f84f0639d718149106a622befc0:/popt/popthelp.c diff --git a/popt/popthelp.c b/popt/popthelp.c index 9b092053..1ddb895c 100644 --- a/popt/popthelp.c +++ b/popt/popthelp.c @@ -17,9 +17,9 @@ * @param key option(s) */ static void displayArgs(poptContext con, - /*@unused@*/ UNUSED(enum poptCallbackReason foo), + /*@unused@*/ enum poptCallbackReason foo, struct poptOption * key, - /*@unused@*/ UNUSED(const char * arg), /*@unused@*/ UNUSED(void * data)) + /*@unused@*/ const char * arg, /*@unused@*/ void * data) /*@globals fileSystem@*/ /*@modifies fileSystem@*/ { @@ -84,7 +84,7 @@ getTableTranslationDomain(/*@null@*/ const struct poptOption *table) /*@observer@*/ /*@null@*/ static const char *const getArgDescrip(const struct poptOption * opt, /*@-paramuse@*/ /* FIX: wazzup? */ - /*@null@*/ UNUSED(const char * translation_domain)) + /*@null@*/ const char * translation_domain) /*@=paramuse@*/ /*@*/ { @@ -115,7 +115,7 @@ static /*@only@*/ /*@null@*/ char * singleOptionDefaultValue(int lineLength, const struct poptOption * opt, /*@-paramuse@*/ /* FIX: i18n macros disable with lclint */ - /*@null@*/ UNUSED(const char * translation_domain)) + /*@null@*/ const char * translation_domain) /*@=paramuse@*/ /*@*/ { @@ -475,7 +475,7 @@ static int showHelpIntro(poptContext con, FILE * fp) return len; } -void poptPrintHelp(poptContext con, FILE * fp, /*@unused@*/ UNUSED(int flags)) +void poptPrintHelp(poptContext con, FILE * fp, /*@unused@*/ int flags) { int leftColWidth; @@ -634,7 +634,7 @@ static int showShortOptions(const struct poptOption * opt, FILE * fp, return strlen(s) + 4; } -void poptPrintUsage(poptContext con, FILE * fp, /*@unused@*/ UNUSED(int flags)) +void poptPrintUsage(poptContext con, FILE * fp, /*@unused@*/ int flags) { int cursor;