diff options
author | bapt <bapt@FreeBSD.org> | 2015-08-02 12:48:36 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-08-02 12:48:36 +0000 |
commit | 1890bfce806e19e6430ba5d28f16eb8400cece0c (patch) | |
tree | d2b24001c83062675b5661ca2ca63a095a584365 /usr.sbin/pw | |
parent | 4f6bdcfb5d991cad957a55f5585949b946a630e0 (diff) | |
download | FreeBSD-src-1890bfce806e19e6430ba5d28f16eb8400cece0c.zip FreeBSD-src-1890bfce806e19e6430ba5d28f16eb8400cece0c.tar.gz |
Remove dead code
Diffstat (limited to 'usr.sbin/pw')
-rw-r--r-- | usr.sbin/pw/pw.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h index b6e2ccf..e1a3949 100644 --- a/usr.sbin/pw/pw.h +++ b/usr.sbin/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); |