aboutsummaryrefslogtreecommitdiffstats
path: root/include/lapi/futex.h
diff options
context:
space:
mode:
authorStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>2015-05-26 12:16:16 +0300
committerStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>2015-05-27 16:43:47 +0300
commit5571228702e60a99e547d7b66b7182ab9bd848e4 (patch)
tree0fe0c9da917fc90bfc901cf7c73282dbd819cdd0 /include/lapi/futex.h
parent4af6d295d0a6e25214838f1237e9ec7cc9600ef8 (diff)
downloadplatform_external_ltp-5571228702e60a99e547d7b66b7182ab9bd848e4.tar.gz
platform_external_ltp-5571228702e60a99e547d7b66b7182ab9bd848e4.tar.bz2
platform_external_ltp-5571228702e60a99e547d7b66b7182ab9bd848e4.zip
Move futex_t into a common header
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Diffstat (limited to 'include/lapi/futex.h')
-rw-r--r--include/lapi/futex.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/lapi/futex.h b/include/lapi/futex.h
new file mode 100644
index 000000000..ac4036b70
--- /dev/null
+++ b/include/lapi/futex.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2015 Linux Test Project
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it would be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef LAPI_FUTEX_H__
+#define LAPI_FUTEX_H__
+
+typedef volatile uint32_t futex_t;
+
+#endif /* LAPI_FUTEX_H__ */