aboutsummaryrefslogtreecommitdiffstats
path: root/include/cutils
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2011-04-27 10:21:24 -0700
committerNick Kralevich <nnk@google.com>2011-04-27 10:21:24 -0700
commitde9e65dd6586a1c62fe010f9512e326591a4863d (patch)
tree536b5c05ae62e99b85dda1f3f304b5e1f30da622 /include/cutils
parent282c2ab408d487d0995362d1b9aa97fe30d97ebd (diff)
downloadsystem_core-de9e65dd6586a1c62fe010f9512e326591a4863d.tar.gz
system_core-de9e65dd6586a1c62fe010f9512e326591a4863d.tar.bz2
system_core-de9e65dd6586a1c62fe010f9512e326591a4863d.zip
Revert "Fold uevent message origin checking from init into libcutils."
This reverts commit 8405ec0e7562a370174d9973dd94984c47e49c36. The original change does not compile.
Diffstat (limited to 'include/cutils')
-rw-r--r--include/cutils/uevent.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/cutils/uevent.h b/include/cutils/uevent.h
deleted file mode 100644
index 587149c7..00000000
--- a/include/cutils/uevent.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2011 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __CUTILS_UEVENT_H
-#define __CUTILS_UEVENT_H
-
-#include <sys/socket.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-ssize_t uevent_checked_recv(int socket, void *buffer, size_t length);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __CUTILS_UEVENT_H */