summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commit8cbe2bf87614c55b639bacc76e12032dd20da16c (patch)
tree795e85373359a9777b66b48f9acd2599ef478aeb /pw/pw.h
parent43445319ca0a78d2769b390a5271097013b5ad1e (diff)
downloadpw-darwin-8cbe2bf87614c55b639bacc76e12032dd20da16c.tar.gz
pw-darwin-8cbe2bf87614c55b639bacc76e12032dd20da16c.tar.zst
pw-darwin-8cbe2bf87614c55b639bacc76e12032dd20da16c.zip
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pw/pw.h b/pw/pw.h
index aa437ec..7718039 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -66,10 +66,10 @@ struct carg
{
int ch;
char *val;
- LIST_ENTRY(carg) list;
+ LIST_ENTRY(struct carg) list;
};
-extern LIST_HEAD(cargs, carg) arglist;
+extern LIST_HEAD(cargs, struct carg) arglist;
struct userconf
{