summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2016-05-18 17:59:37 -0500
committerChih-Hung Hsieh2016-05-18 20:11:49 -0500
commitc713bce90183fa4ade82bc6f4b08280d32f1fb58 (patch)
tree30331a4a3c19c4f85778dc96b4e5c203c0368729 /toolbox
parent9b0eb7cdf4ac4650fc3f476c2f5a91c50a18e524 (diff)
downloadplatform-system-core-c713bce90183fa4ade82bc6f4b08280d32f1fb58.tar.gz
platform-system-core-c713bce90183fa4ade82bc6f4b08280d32f1fb58.tar.xz
platform-system-core-c713bce90183fa4ade82bc6f4b08280d32f1fb58.zip
Fix misc-macro-parentheses warnings in init and other core modules.
Bug: 28705665 Change-Id: Ice67cebb8c42538f8fb9cf1756678f41a9d68a31
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/bsd-compatibility.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/bsd-compatibility.h b/toolbox/bsd-compatibility.h
index 434d37075..7c3ddd452 100644
--- a/toolbox/bsd-compatibility.h
+++ b/toolbox/bsd-compatibility.h
@@ -43,7 +43,7 @@
43#define __type_fit(t, a) (0 == 0) 43#define __type_fit(t, a) (0 == 0)
44 44
45// TODO: should this be in our <sys/cdefs.h>? 45// TODO: should this be in our <sys/cdefs.h>?
46#define __arraycount(a) (sizeof(a) / sizeof(a[0])) 46#define __arraycount(a) (sizeof(a) / sizeof((a)[0]))
47 47
48// This at least matches GNU dd(1) behavior. 48// This at least matches GNU dd(1) behavior.
49#define SIGINFO SIGUSR1 49#define SIGINFO SIGUSR1