summaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-23 08:49:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-24 23:58:22 +0100
commit6832c1d4b2a9eb97a36bb6565c84a8eef451a39c (patch)
treedad19839fa62edb783545b6387ec3fba151dd813 /lib/curl_gethostname.c
parent80e7cfeb87c18a7552933ff43a96bd1b709eec22 (diff)
downloadcurl-6832c1d4b2a9eb97a36bb6565c84a8eef451a39c.tar.gz
checksrc: move open braces to comply with function declaration style
Diffstat (limited to 'lib/curl_gethostname.c')
-rw-r--r--lib/curl_gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_gethostname.c b/lib/curl_gethostname.c
index a4fe3c47d..8337c72e8 100644
--- a/lib/curl_gethostname.c
+++ b/lib/curl_gethostname.c
@@ -48,8 +48,8 @@
* For libcurl static library release builds no overriding takes place.
*/
-int Curl_gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) {
-
+int Curl_gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen)
+{
#ifndef HAVE_GETHOSTNAME
/* Allow compilation and return failure when unavailable */