Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 12:18:52 -0700 (PDT)
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40186 for review
Message-ID:  <200310221918.h9MJIq4Y013314@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40186

Change 40186 by areisse@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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310221918.h9MJIq4Y013314>