summaryrefslogtreecommitdiff
path: root/lib/libtls/tls_config.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-11-04 19:01:05 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-11-04 19:01:05 +0000
commit291ab2aa8be2f5e4872cbb895493896d6bb845c9 (patch)
tree3b2dd9a105f31155755d193dc78ba30d298c6e38 /lib/libtls/tls_config.c
parent2068871418ff5e444becdf8fc21c932513e0cd92 (diff)
Make the tls_keypair_new() function a valid prototype.
Diffstat (limited to 'lib/libtls/tls_config.c')
-rw-r--r--lib/libtls/tls_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls_config.c b/lib/libtls/tls_config.c
index f727328f874..218a4c4e72d 100644
--- a/lib/libtls/tls_config.c
+++ b/lib/libtls/tls_config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_config.c,v 1.30 2016/11/04 18:59:35 jsing Exp $ */
+/* $OpenBSD: tls_config.c,v 1.31 2016/11/04 19:01:04 jsing Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -62,7 +62,7 @@ set_mem(char **dest, size_t *destlen, const void *src, size_t srclen)
}
static struct tls_keypair *
-tls_keypair_new()
+tls_keypair_new(void)
{
return calloc(1, sizeof(struct tls_keypair));
}