summaryrefslogtreecommitdiff
path: root/src/s_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_misc.c')
-rw-r--r--src/s_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_misc.c b/src/s_misc.c
index edb04bf..1c59655 100644
--- a/src/s_misc.c
+++ b/src/s_misc.c
@@ -50,7 +50,7 @@ static const char *weekdays[] =
"Thursday", "Friday", "Saturday"
};
-char *
+const char *
date(time_t lclock)
{
static char buf[80], plus;
@@ -114,7 +114,7 @@ smalldate(time_t lclock)
}
#ifdef HAVE_LIBCRYPTO
-char *
+const char *
ssl_get_cipher(const SSL *ssl)
{
static char buffer[IRCD_BUFSIZE / 4];