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
commit4be75621f67c440f574ea826778bfdfe52362753 (patch)
tree7d3c3c3cd24da7d3796b23c7a3fe14f005662955 /pw/pw.h
parent8bf73d1a7a1170cba602614ad37e999fbedac62b (diff)
downloadpw-darwin-4be75621f67c440f574ea826778bfdfe52362753.tar.gz
pw-darwin-4be75621f67c440f574ea826778bfdfe52362753.tar.zst
pw-darwin-4be75621f67c440f574ea826778bfdfe52362753.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
{