summaryrefslogtreecommitdiff
path: root/include/private/android_filesystem_config.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-04-06 12:51:35 -0700
committerMark Salyzyn <salyzyn@google.com>2015-04-06 14:15:58 -0700
commit16045614fdd4af2efb8b8d143bcb150bcf7940cd (patch)
tree8af0478ad08b79c9e81675e7c194fd890d978e22 /include/private/android_filesystem_config.h
parent08fe38e23bad476be9dd46bf45ece1b5f3700178 (diff)
android_filesystem_config.h: use __BEGIN_DECLS and __END_DECLS
Change-Id: Idb050b9ef4e7947664295b173e1b09d65accd3e9
Diffstat (limited to 'include/private/android_filesystem_config.h')
-rw-r--r--include/private/android_filesystem_config.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 167f5a10b..fed81f84b 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -22,6 +22,7 @@
#ifndef _ANDROID_FILESYSTEM_CONFIG_H_
#define _ANDROID_FILESYSTEM_CONFIG_H_
+#include <sys/cdefs.h>
#include <sys/types.h>
#include <stdint.h>
@@ -199,9 +200,7 @@ struct fs_path_config {
/* Rules for directories and files has moved to system/code/libcutils/fs_config.c */
-#ifdef __cplusplus
-extern "C" {
-#endif
+__BEGIN_DECLS
/*
* Used in:
@@ -216,9 +215,7 @@ extern "C" {
void fs_config(const char *path, int dir,
unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities);
-#ifdef __cplusplus
-}
-#endif
+__END_DECLS
#endif
#endif