Looks like I forgot one little tiny detail...
This commit is contained in:
parent
cb81e6484d
commit
43da9d19ef
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
#if ! defined CONFIG_DELUSER
|
#if ! defined CONFIG_DELUSER
|
||||||
#include "delline.c"
|
#include "delline.c"
|
||||||
|
#else
|
||||||
|
extern int del_line_matching(const char *login, const char *filename);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int delgroup_main(int argc, char **argv)
|
int delgroup_main(int argc, char **argv)
|
||||||
@ -57,4 +59,4 @@ int delgroup_main(int argc, char **argv)
|
|||||||
return (EXIT_SUCCESS);
|
return (EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* $Id: delgroup.c,v 1.1 2003/07/14 20:20:45 andersen Exp $ */
|
/* $Id: delgroup.c,v 1.2 2003/07/14 21:50:51 andersen Exp $ */
|
||||||
|
@ -64,7 +64,7 @@ static inline Bounds boundary(const char *buffer, const char *login)
|
|||||||
|
|
||||||
/* grep -v ^login (except it only deletes the first match) */
|
/* grep -v ^login (except it only deletes the first match) */
|
||||||
/* ...in fact, I think I'm going to simplify this later */
|
/* ...in fact, I think I'm going to simplify this later */
|
||||||
static int del_line_matching(const char *login, const char *filename)
|
int del_line_matching(const char *login, const char *filename)
|
||||||
{
|
{
|
||||||
char *buffer;
|
char *buffer;
|
||||||
FILE *passwd;
|
FILE *passwd;
|
||||||
@ -110,4 +110,4 @@ static int del_line_matching(const char *login, const char *filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* $Id: delline.c,v 1.1 2003/07/14 20:20:45 andersen Exp $ */
|
/* $Id: delline.c,v 1.2 2003/07/14 21:50:51 andersen Exp $ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user