summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/config.c')
-rw-r--r--usr.sbin/smtpd/config.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/config.c b/usr.sbin/smtpd/config.c
index 9dd67c43084..88d78d30eeb 100644
--- a/usr.sbin/smtpd/config.c
+++ b/usr.sbin/smtpd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.41 2018/06/18 18:19:14 gilles Exp $ */
+/* $OpenBSD: config.c,v 1.42 2018/07/03 01:34:43 mortimer Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -283,6 +283,8 @@ purge_config(uint8_t what)
}
}
+#ifndef CONFIG_MINIMUM
+
void
config_process(enum smtp_proc_type proc)
{
@@ -325,3 +327,10 @@ config_peer(enum smtp_proc_type proc)
mproc_enable(p);
}
+
+#else
+
+void config_process(enum smtp_proc_type proc) {}
+void config_peer(enum smtp_proc_type proc) {}
+
+#endif