summaryrefslogtreecommitdiff
path: root/lib/gnutls_helper.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-11-07 23:27:56 +0000
committerSimon Josefsson <simon@josefsson.org>2005-11-07 23:27:56 +0000
commita5891d75997c9529b9fc5c273df8bd0df4093cd0 (patch)
treefd6eec448a88c5eb891cc145921c5793662da604 /lib/gnutls_helper.c
parentaf21484a8daf15da48f7d00c4fe632708a757a64 (diff)
downloadgnutls-a5891d75997c9529b9fc5c273df8bd0df4093cd0.tar.gz
Use GNU coding style.
Diffstat (limited to 'lib/gnutls_helper.c')
-rw-r--r--lib/gnutls_helper.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/gnutls_helper.c b/lib/gnutls_helper.c
index bdab26c870..61e907766b 100644
--- a/lib/gnutls_helper.c
+++ b/lib/gnutls_helper.c
@@ -24,15 +24,15 @@
#include <gnutls_int.h>
-int _gnutls_file_exists(const char *file)
+int
+_gnutls_file_exists (const char *file)
{
- FILE *fd;
+ FILE *fd;
- fd = fopen(file, "r");
- if (fd == NULL)
- return -1;
+ fd = fopen (file, "r");
+ if (fd == NULL)
+ return -1;
- fclose(fd);
- return 0;
+ fclose (fd);
+ return 0;
}
-