summaryrefslogtreecommitdiff
path: root/loginutils/delline.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-14 21:50:51 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-14 21:50:51 +0000
commit43da9d19ef9ff17ada12ee6ece55b6af19559a43 (patch)
tree03f8f20ee15c721b45a1a39195695f3908f0356b /loginutils/delline.c
parentcb81e6484d1f50ec2761f6294722407b14add525 (diff)
downloadbusybox-w32-43da9d19ef9ff17ada12ee6ece55b6af19559a43.tar.gz
busybox-w32-43da9d19ef9ff17ada12ee6ece55b6af19559a43.tar.bz2
busybox-w32-43da9d19ef9ff17ada12ee6ece55b6af19559a43.zip
Looks like I forgot one little tiny detail...
Diffstat (limited to 'loginutils/delline.c')
-rw-r--r--loginutils/delline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/delline.c b/loginutils/delline.c
index ed29ca0d2..8d534c861 100644
--- a/loginutils/delline.c
+++ b/loginutils/delline.c
@@ -64,7 +64,7 @@ static inline Bounds boundary(const char *buffer, const char *login)
64 64
65/* grep -v ^login (except it only deletes the first match) */ 65/* grep -v ^login (except it only deletes the first match) */
66/* ...in fact, I think I'm going to simplify this later */ 66/* ...in fact, I think I'm going to simplify this later */
67static int del_line_matching(const char *login, const char *filename) 67int del_line_matching(const char *login, const char *filename)
68{ 68{
69 char *buffer; 69 char *buffer;
70 FILE *passwd; 70 FILE *passwd;
@@ -110,4 +110,4 @@ static int del_line_matching(const char *login, const char *filename)
110} 110}
111 111
112 112
113/* $Id: delline.c,v 1.1 2003/07/14 20:20:45 andersen Exp $ */ 113/* $Id: delline.c,v 1.2 2003/07/14 21:50:51 andersen Exp $ */