PERFORCE change 90099 for review

Robert Watson rwatson at FreeBSD.org
Sat Jan 21 16:02:28 GMT 2006


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

Change 90099 by rwatson at rwatson_sesame on 2006/01/21 16:02:18

	Mark unused arguments as __unused.
	
	Submitted by:	phk
	Found with:	FlexeLint

Affected files ...

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

Differences ...

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

@@ -630,8 +630,9 @@
 }
 
 token_t *
-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)
+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)
 {
 
 	errno = ENOTSUP;
@@ -639,8 +640,9 @@
 }
 
 token_t *
-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)
+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)
 {
 
 	return (au_to_process32(auid, euid, egid, ruid, rgid, pid, sid,
@@ -1174,7 +1176,8 @@
 }
 
 token_t *
-au_to_header64(int rec_size, au_event_t e_type, au_emod_t e_mod)
+au_to_header64(__unused int rec_size, __unused au_event_t e_type,
+    __unused au_emod_t e_mod)
 {
 
 	errno = ENOTSUP;
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