summaryrefslogtreecommitdiff
path: root/lib/gnutls_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_helper.c')
-rw-r--r--lib/gnutls_helper.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/gnutls_helper.c b/lib/gnutls_helper.c
index 6a370ee865..d647fe3327 100644
--- a/lib/gnutls_helper.c
+++ b/lib/gnutls_helper.c
@@ -23,15 +23,14 @@
#include <gnutls_int.h>
#include <gnutls_helper.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;
}