summaryrefslogtreecommitdiff
path: root/src/getln.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 15:50:21 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 15:50:21 +0200
commit795ffc5e62e8ba383575dbcd9943a580d4bd3358 (patch)
treec128889056202b255e2f22afeb7717894d350862 /src/getln.c
parent5fadc0cbb8577c61d66bd6f19ceaf0507c11e23b (diff)
formatting changes
Manual format adjustments. Comment adjustments. Remove usage of the register keyword.
Diffstat (limited to 'src/getln.c')
-rw-r--r--src/getln.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/getln.c b/src/getln.c
index 64189fe..476e197 100644
--- a/src/getln.c
+++ b/src/getln.c
@@ -3,10 +3,10 @@
#include "byte.h"
/**
- @file getln.c
- @author djb
- @source qmail
- @brief evaluting tokenized input arguments
+ @file getln.c
+ @author djb
+ @source qmail
+ @brief evaluting tokenized input arguments
*/
int getln(buffer *b, stralloc *sa, int *match, int sep)
@@ -26,8 +26,8 @@ int getln(buffer *b, stralloc *sa, int *match, int sep)
int sgetln(buffer *b, stralloc *sa, char **cont, unsigned int *clen, int sep)
{
- register char *x;
- register unsigned int i;
+ char *x;
+ unsigned int i;
int n;
if (!stralloc_ready(sa, 0)) return -1;