aboutsummaryrefslogtreecommitdiff
path: root/compat/have_getline.c
diff options
context:
space:
mode:
authoruncrustify <david@tethera.net>2019-06-13 07:34:25 -0300
committerDavid Bremner <david@tethera.net>2019-06-14 07:41:27 -0300
commit8099050c7191525c63b03e8b175620d2a2c1a9a3 (patch)
tree70021d7697b1f7c4770d92045f2ee45f6432c901 /compat/have_getline.c
parent1a8916786f9464af6c8a05713a4c987a6b097a12 (diff)
compat: run uncrustify
This is the result of running $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h in the compat directory
Diffstat (limited to 'compat/have_getline.c')
-rw-r--r--compat/have_getline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat/have_getline.c b/compat/have_getline.c
index a8bcd17e..6952a3b3 100644
--- a/compat/have_getline.c
+++ b/compat/have_getline.c
@@ -2,12 +2,13 @@
#include <stdio.h>
#include <sys/types.h>
-int main()
+int
+main ()
{
ssize_t count = 0;
size_t n = 0;
char **lineptr = NULL;
FILE *stream = NULL;
- count = getline(lineptr, &n, stream);
+ count = getline (lineptr, &n, stream);
}