Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1dda5dc authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge \\\\"Fix misc-macro-parentheses warnings in system/core.\\\\" am:...

Merge \\\\"Fix misc-macro-parentheses warnings in system/core.\\\\" am: 495541c5 am: 65828a0e am: 4a8ab167
am: 3f646c24

Change-Id: I0131e74b001a9f1e56c456a52a327687e07b8955
parents b119df84 3f646c24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@
#include <sys/types.h>
#include <unistd.h>

#define ARRAY_SIZE(x)           (sizeof(x)/sizeof(x[0]))
#define ARRAY_SIZE(x)           (sizeof(x)/sizeof((x)[0]))

#define OP_DOWNLOAD   1
#define OP_COMMAND    2
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ char *locale;
#define min(a,b) ((a) < (b) ? (a) : (b))
#endif

#define ARRAY_SIZE(x)           (sizeof(x)/sizeof(x[0]))
#define ARRAY_SIZE(x)           (sizeof(x)/sizeof((x)[0]))

#define MSEC_PER_SEC            (1000LL)
#define NSEC_PER_MSEC           (1000000LL)
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#include <string>
#include <functional>

#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))

#define COLDBOOT_DONE "/dev/.coldboot_done"

+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@

#define TRUSTY_DEVICE_NAME "/dev/trusty-ipc-dev0"

#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))

static inline bool is_32bit_aligned(size_t sz)
{