diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-02 12:48:36 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-02 12:48:36 +0000 |
commit | 3bb519ecb05089cfdfebe8aeb2d0057b66ec8659 (patch) | |
tree | e7b673ade046a1184b8a88503168ed2e3b661f2b /pw | |
parent | e773096e9049d4fb494d9ea86a862cd89d62bdfc (diff) | |
download | pw-darwin-3bb519ecb05089cfdfebe8aeb2d0057b66ec8659.tar.gz pw-darwin-3bb519ecb05089cfdfebe8aeb2d0057b66ec8659.tar.zst pw-darwin-3bb519ecb05089cfdfebe8aeb2d0057b66ec8659.zip |
Remove dead code
Diffstat (limited to 'pw')
-rw-r--r-- | pw/pw.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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); |