summaryrefslogtreecommitdiffstats
path: root/liblog/log_portability.h
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-01-15 17:47:48 -0800
committerTom Cherry <tomcherry@google.com>2019-01-16 10:49:45 -0800
commitbab52203b7c0a2610c1f51428703388223cb634a (patch)
tree75971624aec79210906bf22632d4765b3b3374c3 /liblog/log_portability.h
parent3a4591c750a2499bd1d760339c0e025475e9d597 (diff)
downloadsystem_core-bab52203b7c0a2610c1f51428703388223cb634a.tar.gz
system_core-bab52203b7c0a2610c1f51428703388223cb634a.tar.bz2
system_core-bab52203b7c0a2610c1f51428703388223cb634a.zip
Use #pragma one for all liblog includes
Test: build Change-Id: I0ffe40853a89acffc1af4fd3838ef488706d23dc
Diffstat (limited to 'liblog/log_portability.h')
-rw-r--r--liblog/log_portability.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/liblog/log_portability.h b/liblog/log_portability.h
index 4a1f59c1b..b9fb1d248 100644
--- a/liblog/log_portability.h
+++ b/liblog/log_portability.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef _LIBLOG_PORTABILITY_H__
-#define _LIBLOG_PORTABILITY_H__
+#pragma once
#include <sys/cdefs.h>
#include <unistd.h>
@@ -75,5 +74,3 @@
_rc; \
})
#endif
-
-#endif /* _LIBLOG_PORTABILITY_H__ */