aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-10-29 19:52:44 -0700
committerElliott Hughes <enh@google.com>2015-10-29 19:52:44 -0700
commit38eca07826f70a34fde05e6b858cb6e88cac3a55 (patch)
treea4bd5a1fec0cc1524084873a200c3f933de0269d
parent50e92795890c0d8b4bf54c535f66f3b2edf7bd59 (diff)
downloadbionic-38eca07826f70a34fde05e6b858cb6e88cac3a55.tar.gz
Remove <sys/shm.h>.
Android doesn't allow SysV IPC, so this only serves two purposes. It's good in that it helps random code (especially code that doesn't actually need this header) to compile anyway. But it's bad for the same reason: it's misleading for configure scripts that test for the header but not for the corresponding functions. Bug: http://b/19340456 Change-Id: I4a5f319d9aecf46fc512fc94bb4f9e3f6ea64e71
-rw-r--r--libc/include/sys/shm.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/libc/include/sys/shm.h b/libc/include/sys/shm.h
deleted file mode 100644
index c691c29fa..000000000
--- a/libc/include/sys/shm.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2014 The Android Open Source Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#ifndef _SYS_SHM_H_
-#define _SYS_SHM_H_
-
-#include <linux/shm.h>
-
-#endif /* _SYS_SHM_H_ */