summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/daemon.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-01-31 22:52:01 +0100
committerBen Lindstrom <mouring@eviladmin.org>2001-01-31 22:52:01 +0100
commit3c06f6a0b234822c7b2d6c63ef1aaf554af7167b (patch)
tree86e5fe626cb9cbade752baf2440badfa19976200 /openbsd-compat/daemon.h
parent - (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain (diff)
downloadopenssh-3c06f6a0b234822c7b2d6c63ef1aaf554af7167b.tar.xz
openssh-3c06f6a0b234822c7b2d6c63ef1aaf554af7167b.zip
- (bal) Reorder. Move all bsd-*, fake-*, next-*, and cygwin* stuff to
openbsd-compat/. And resolve all ./configure and Makefile.in issues assocated. Logic: * All OpenBSD functions should have the same filename as in the OpenBSD tree * All 'home brew' functions have bsd-* infront of them. * All 'not really implemented' functions have fake-* infront of them.
Diffstat (limited to 'openbsd-compat/daemon.h')
-rw-r--r--openbsd-compat/daemon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsd-compat/daemon.h b/openbsd-compat/daemon.h
new file mode 100644
index 000000000..cd91ea07b
--- /dev/null
+++ b/openbsd-compat/daemon.h
@@ -0,0 +1,9 @@
+#ifndef _BSD_DAEMON_H
+#define _BSD_DAEMON_H
+
+#include "config.h"
+#ifndef HAVE_DAEMON
+int daemon(int nochdir, int noclose);
+#endif /* !HAVE_DAEMON */
+
+#endif /* _BSD_DAEMON_H */