diff options
author | rab <none@none> | 2005-08-22 15:35:14 -0700 |
---|---|---|
committer | rab <none@none> | 2005-08-22 15:35:14 -0700 |
commit | 1a6fa3a5205c95d7c4ea1caa5f0f9b408e0a2c1b (patch) | |
tree | f6e7356c470feafa6b585677fd31d5d7f960d6f3 /usr/src/lib/libcpc | |
parent | f55ce205b4982f6d24998fb468599a00f56b0a7b (diff) | |
download | illumos-joyent-1a6fa3a5205c95d7c4ea1caa5f0f9b408e0a2c1b.tar.gz |
6309240 gcc and libcpc don't get along
Diffstat (limited to 'usr/src/lib/libcpc')
-rw-r--r-- | usr/src/lib/libcpc/common/obsoleted.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libcpc/common/obsoleted.c b/usr/src/lib/libcpc/common/obsoleted.c index 776945dd23..7c6d3b805e 100644 --- a/usr/src/lib/libcpc/common/obsoleted.c +++ b/usr/src/lib/libcpc/common/obsoleted.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -145,13 +145,13 @@ cpc_take_sample(cpc_event_t *this) int cpc_count_usr_events(int enable) { - return (syscall(SYS_cpc, CPC_USR_EVENTS, -1, (void *)enable, 0)); + return (syscall(SYS_cpc, CPC_USR_EVENTS, -1, enable, 0)); } int cpc_count_sys_events(int enable) { - return (syscall(SYS_cpc, CPC_SYS_EVENTS, -1, (void *)enable, 0)); + return (syscall(SYS_cpc, CPC_SYS_EVENTS, -1, enable, 0)); } int |