From: Derrick Brashear Date: Sun, 29 Jul 2012 23:09:22 +0000 (-0400) Subject: opr: tweak nonnull macro to use nested parens X-Git-Tag: upstream/1.8.0_pre1^2~2133 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=71dc077831d339fc5822f2c2c79b65afe14b12f8;p=packages%2Fo%2Fopenafs.git opr: tweak nonnull macro to use nested parens throws an error on windows in some cases otherwise Change-Id: I977b63908fb64a9711f9ba9ca22aeb04882fadf4 Reviewed-on: http://gerrit.openafs.org/7899 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/opr/opr.h b/src/opr/opr.h index e55a45e6d..0d060dabb 100644 --- a/src/opr/opr.h +++ b/src/opr/opr.h @@ -32,8 +32,8 @@ extern void opr_AssertFailU(const char *, const char *, int) AFS_NORETURN; extern char *opr_lcstring(char *d, const char *s, int n) AFS_NONNULL((1,2)); extern char *opr_ucstring(char *d, const char *s, int n) AFS_NONNULL((1,2)); -extern void opr_stolower(char *s) AFS_NONNULL(); -extern void opr_stoupper(char *s) AFS_NONNULL(); +extern void opr_stolower(char *s) AFS_NONNULL(()); +extern void opr_stoupper(char *s) AFS_NONNULL(()); extern char *opr_strcompose(char *buf, size_t len, ...) AFS_NONNULL((1)); #endif