From 3bb519ecb05089cfdfebe8aeb2d0057b66ec8659 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 2 Aug 2015 12:48:36 +0000 Subject: Remove dead code --- pw/pw.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'pw') diff --git a/pw/pw.h b/pw/pw.h index b6e2ccf..e1a3949 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -64,15 +64,6 @@ enum _which W_NUM }; -struct carg -{ - int ch; - char *val; - LIST_ENTRY(carg) list; -}; - -LIST_HEAD(cargs, carg); - #define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO) #define _PATH_PW_CONF "/etc/pw.conf" #define _UC_MAXLINE 1024 @@ -81,8 +72,6 @@ LIST_HEAD(cargs, carg); struct userconf *get_userconfig(const char *cfg); struct userconf *read_userconfig(char const * file); int write_userconfig(struct userconf *cnf, char const * file); -struct carg *addarg(struct cargs * _args, int ch, char *argstr); -struct carg *getarg(struct cargs * _args, int ch); int pw_group_add(int argc, char **argv, char *name); int pw_group_del(int argc, char **argv, char *name); -- cgit v1.2.3-56-ge451