PERFORCE change 40186 for review

Andrew Reisse areisse at FreeBSD.org
Wed Oct 22 19:18:52 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=40186

Change 40186 by areisse at areisse_ibook on 2003/10/22 12:18:16

	fixes for apple compilation. Uses the sys/queue.h from FreeBSD.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/mac_cmds/setfsmac/Makefile#1 add
.. //depot/projects/trustedbsd/sedarwin/mac_cmds/setfsmac/setfsmac.c#2 edit
.. //depot/projects/trustedbsd/sedarwin/mac_cmds/setfsmac/sysqueue.h#1 add

Differences ...

==== //depot/projects/trustedbsd/sedarwin/mac_cmds/setfsmac/setfsmac.c#2 (text+ko) ====

@@ -34,7 +34,6 @@
 #include <sys/types.h>
 #include <sys/mac.h>
 #include <sys/types.h>
-#include <sys/queue.h>
 #include <sys/mac.h>
 #include <sys/stat.h>
 
@@ -48,6 +47,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include "sysqueue.h"
 
 struct label_spec {
 	struct label_spec_entry {
@@ -69,7 +69,7 @@
 	STAILQ_HEAD(label_specs_head, label_spec) head;
 };
 
-void usage(int) __dead2;
+void usage(int);
 struct label_specs *new_specs(void);
 void add_specs(struct label_specs *, const char *, int);
 void add_setfmac_specs(struct label_specs *, char *);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list