PERFORCE change 110207 for review

Robert Watson rwatson at FreeBSD.org
Tue Nov 21 17:25:14 UTC 2006


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

Change 110207 by rwatson at rwatson_fledge on 2006/11/18 11:12:21

	Remove now unnecessary __unused qualifiers on arguments to process
	token generation.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#54 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#54 (text+ko) ====

@@ -30,7 +30,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#53 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#54 $
  */
 
 #include <sys/types.h>
@@ -687,9 +687,8 @@
 }
 
 token_t *
-au_to_process64(__unused au_id_t auid, __unused uid_t euid,
-    __unused gid_t egid, __unused uid_t ruid, __unused gid_t rgid,
-    __unused pid_t pid, __unused au_asid_t sid, __unused au_tid_t *tid)
+au_to_process64(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid,
+    pid_t pid, au_asid_t sid, au_tid_t *tid)
 {
 	token_t *t;
 	u_char *dptr = NULL;
@@ -714,9 +713,8 @@
 }
 
 token_t *
-au_to_process(__unused au_id_t auid, __unused uid_t euid,
-    __unused gid_t egid, __unused uid_t ruid, __unused gid_t rgid,
-    __unused pid_t pid, __unused au_asid_t sid, __unused au_tid_t *tid)
+au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid,
+    pid_t pid, au_asid_t sid, au_tid_t *tid)
 {
 
 	return (au_to_process32(auid, euid, egid, ruid, rgid, pid, sid,


More information about the trustedbsd-cvs mailing list