From 71dc077831d339fc5822f2c2c79b65afe14b12f8 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sun, 29 Jul 2012 19:09:22 -0400 Subject: [PATCH] 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 --- src/opr/opr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opr/opr.h b/src/opr/opr.h index e55a45e..0d060da 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 -- 1.9.4