summaryrefslogtreecommitdiff
path: root/libs/binder/include/binder/PermissionCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/include/binder/PermissionCache.h')
-rw-r--r--libs/binder/include/binder/PermissionCache.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/binder/include/binder/PermissionCache.h b/libs/binder/include/binder/PermissionCache.h
index 21aa705ff7..c2582150df 100644
--- a/libs/binder/include/binder/PermissionCache.h
+++ b/libs/binder/include/binder/PermissionCache.h
@@ -14,7 +14,8 @@
* limitations under the License.
*/
-#pragma once
+#ifndef BINDER_PERMISSION_H
+#define BINDER_PERMISSION_H
#ifndef __ANDROID_VNDK__
@@ -73,8 +74,6 @@ public:
static bool checkPermission(const String16& permission,
pid_t pid, uid_t uid);
-
- static void purgeCache();
};
// ---------------------------------------------------------------------------
@@ -83,3 +82,5 @@ public:
#else // __ANDROID_VNDK__
#error "This header is not visible to vendors"
#endif // __ANDROID_VNDK__
+
+#endif /* BINDER_PERMISSION_H */