aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-23 08:49:04 +0100
committerng0 <ng0@infotropique.org>2017-08-22 15:10:38 +0000
commitd23781df04cef44e81c4f47cf247ff9d13de3ab2 (patch)
treec0d4b87d3ebb51a42f7a4c58b0482e4368cd45af /lib/curl_gethostname.c
parent4287b9dbaa8a207905a14f5bab997df8ef874e34 (diff)
downloadgnurl-d23781df04cef44e81c4f47cf247ff9d13de3ab2.tar.gz
gnurl-d23781df04cef44e81c4f47cf247ff9d13de3ab2.tar.bz2
gnurl-d23781df04cef44e81c4f47cf247ff9d13de3ab2.zip
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 */