summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
new file mode 100644
index 00000000..36dc81d9
--- /dev/null
+++ b/include/types.h
@@ -0,0 +1,27 @@
+/* Copyright 2013-2014 IBM Corp.
+ *
+ * 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 __TYPES_H
+#define __TYPES_H
+#include <ccan/short_types/short_types.h>
+
+/* These are currently just for clarity, but we could apply sparse. */
+typedef u16 __be16;
+typedef u32 __be32;
+typedef u64 __be64;
+
+#endif /* __TYPES_H */
+
OpenPOWER on IntegriCloud