Date: Sat, 21 Jan 2006 16:02:28 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 90099 for review Message-ID: <200601211602.k0LG2SE1089013@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90099 Change 90099 by rwatson@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601211602.k0LG2SE1089013>