summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index d63fa0f..993aa1c 100644
--- a/httpd.c
+++ b/httpd.c
@@ -653,6 +653,29 @@ void term_handler(int s)
653} 653}
654 654
655 655
656#ifdef WITHOUT_SHM
657
658/* dummy versions */
659
660int shm_open(const char *name, int flags, mode_t mode)
661{
662 (void)name;
663 (void)flags;
664 (void)mode;
665
666 errno = ENOTSUP;
667 return -1;
668}
669
670int shm_unlink(const char *name)
671{
672 (void)name;
673 return -1;
674}
675
676
677#endif
678
656srv_state *srv_state_op(xs_str **fname, int op) 679srv_state *srv_state_op(xs_str **fname, int op)
657/* opens or deletes the shared memory object */ 680/* opens or deletes the shared memory object */
658{ 681{