diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-23 16:42:02 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-23 16:42:02 +0000 |
commit | 4fc632fe96ddc6b1efe881965eb34155c136cfcc (patch) | |
tree | b0df0834ff27a2501a8bf09742f580cddf5decaf /include/s_misc.h | |
parent | 7b0be4b0c2589115a59090246188c3797a798d45 (diff) |
- Constification, replaced few sprintf with snprintf
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1847 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include/s_misc.h')
-rw-r--r-- | include/s_misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/s_misc.h b/include/s_misc.h index 3c18976..c44344f 100644 --- a/include/s_misc.h +++ b/include/s_misc.h @@ -25,10 +25,10 @@ #ifndef INCLUDED_s_misc_h #define INCLUDED_s_misc_h -extern char *date(time_t); +extern const char *date(time_t); extern const char *smalldate(time_t); #ifdef HAVE_LIBCRYPTO -extern char *ssl_get_cipher(const SSL *); +extern const char *ssl_get_cipher(const SSL *); #endif /* Just blindly define our own MIN/MAX macro */ |