]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Change the way that the queue(3) structures are declared; don't assume that
authorJake Burkholder <jake@FreeBSD.org>
Tue, 23 May 2000 20:41:01 +0000 (20:41 +0000)
committerJake Burkholder <jake@FreeBSD.org>
Tue, 23 May 2000 20:41:01 +0000 (20:41 +0000)
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by: phk
Reviewed by: phk
Approved by: mdodd

pw/pw.h

diff --git a/pw/pw.h b/pw/pw.h
index aa437ec3cd9a0292d2848896610ce99e6aae1b3b..771803965fa9909951e055d62a24b022326559f8 100644 (file)
--- 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
 {