summaryrefslogtreecommitdiffstats
path: root/maildrop
diff options
context:
space:
mode:
authorSam Varshavchik2021-05-21 21:11:51 -0400
committerSam Varshavchik2021-05-21 21:11:51 -0400
commit142f42378608e593eb36ceb33895db99948427aa (patch)
treefc089285268a8fe3c8768cd7482fb50393f49354 /maildrop
parent34b6dbb743654fdb6edccf101c4da7e671b7a92d (diff)
downloadcourier-libs-142f42378608e593eb36ceb33895db99948427aa.tar.bz2
-Wall and -Werror fixes
Diffstat (limited to 'maildrop')
-rw-r--r--maildrop/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/maildrop/configure.ac b/maildrop/configure.ac
index 50be8f9..fca57fe 100644
--- a/maildrop/configure.ac
+++ b/maildrop/configure.ac
@@ -268,7 +268,7 @@ AC_TRY_COMPILE([
#include <unistd.h>
#endif
-extern "C" int gethostname(int,int);
+extern int gethostname(int,int);
],[
],maildir_cv_SYS_GETHOSTNAME=yes,maildir_cv_SYS_GETHOSTNAME=no
)