aboutsummaryrefslogtreecommitdiff
path: root/src/ipc/shmat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/shmat.c')
-rw-r--r--src/ipc/shmat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ipc/shmat.c b/src/ipc/shmat.c
index 8c7407d1..e1570e05 100644
--- a/src/ipc/shmat.c
+++ b/src/ipc/shmat.c
@@ -15,3 +15,11 @@ void *shmat(int id, const void *addr, int flag)
return (ret > -(unsigned long)SHMLBA) ? (void *)ret : (void *)addr;
}
#endif
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif