summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 12:48:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 12:48:36 +0000
commit3bb519ecb05089cfdfebe8aeb2d0057b66ec8659 (patch)
treee7b673ade046a1184b8a88503168ed2e3b661f2b /pw
parente773096e9049d4fb494d9ea86a862cd89d62bdfc (diff)
downloadpw-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.h11
1 files changed, 0 insertions, 11 deletions
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);