aboutsummaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-03-17 00:55:46 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-03-17 00:55:46 +0100
commit8d9d03a1576798d6f1e32ca3d2294f030f94ef1a (patch)
tree6441f7fae832275f96d27fd9a072e157af286b41 /lib/version.c
parent5f5b6263573ba70f06988f8e439feec4520b1b36 (diff)
version: init moved to private name space, added protos
follow-up to 80015cdd52145
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/version.c b/lib/version.c
index f693feeda..12924453c 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -64,9 +64,11 @@
#define CURL_LIBSSH2_VERSION LIBSSH2_VERSION
#endif
+void Curl_version_init(void);
+
/* For thread safety purposes this function is called by global_init so that
the static data in both version functions is initialized. */
-void curl_version_init()
+void Curl_version_init(void)
{
curl_version();
curl_version_info(CURLVERSION_NOW);