summaryrefslogtreecommitdiffstats
path: root/bsd-daemon.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-19 05:32:34 +0100
committerDamien Miller <djm@mindrot.org>1999-11-19 05:32:34 +0100
commit04f801456ad64b8f08bb8643cf19e0b9ca477b36 (patch)
treea0fd23f758cb40cf808b8c18ced35d4045decee9 /bsd-daemon.h
parent - Added autoconf option to enable Kerberos 4 support (untested) (diff)
downloadopenssh-04f801456ad64b8f08bb8643cf19e0b9ca477b36.tar.xz
openssh-04f801456ad64b8f08bb8643cf19e0b9ca477b36.zip
- Renamed BSD helper function files to bsd-*
- Added tests for login and daemon and OpenBSD replacements for when they are absent.
Diffstat (limited to 'bsd-daemon.h')
-rw-r--r--bsd-daemon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bsd-daemon.h b/bsd-daemon.h
new file mode 100644
index 000000000..cd91ea07b
--- /dev/null
+++ b/bsd-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 */