summaryrefslogtreecommitdiff
path: root/src/tls_start.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/tls_start.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/tls_start.c')
-rw-r--r--src/tls_start.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tls_start.c b/src/tls_start.c
index 434591f..72f012b 100644
--- a/src/tls_start.c
+++ b/src/tls_start.c
@@ -1,9 +1,10 @@
+#include "tls_start.h"
+
#include <unistd.h>
#include "env.h"
#include "fd.h"
#include "logmsg.h"
-#include "open.h"
#include "scan.h"
#include "stralloc.h"
@@ -21,7 +22,7 @@ static void die_tlsenv()
logmsg(WHO, 111, FATAL, "no UCSPITLS environment to read");
}
-int starttls_init(void)
+int starttls_init()
{
unsigned long fd;
char *fdstr;
@@ -41,7 +42,7 @@ int starttls_init(void)
return 1;
}
-int starttls_info(void)
+int starttls_info()
{
unsigned long fd;
char *fdstr;