OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be86f87
)
syslog.h: missing LOG_MAKEPRI definition
author
Mark Salyzyn
<salyzyn@google.com>
Thu, 12 Mar 2015 20:21:35 +0000
(13:21 -0700)
committer
Mark Salyzyn
<salyzyn@google.com>
Thu, 12 Mar 2015 20:21:35 +0000
(13:21 -0700)
Bug:
19681572
Change-Id: Ice5f5cb1f71522ffc47b2243a8dc4c277c2a288f
libc/include/syslog.h
patch
|
blob
|
history
diff --git
a/libc/include/syslog.h
b/libc/include/syslog.h
index
cbceab2
..
8000f03
100644
(file)
--- a/
libc/include/syslog.h
+++ b/
libc/include/syslog.h
@@
-47,6
+47,7
@@
__BEGIN_DECLS
#define LOG_PRIMASK 7
#define LOG_PRI(x) ((x) & LOG_PRIMASK)
+#define LOG_MAKEPRI(fac, pri) ((fac) | (pri))
/* Facilities are currently ignored on Android. */
#define LOG_KERN 0000