Print this page
remove support for non-ANSI compilation

*** 18,50 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 1998 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _PCSAMPLE_H #define _PCSAMPLE_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #ifdef __cplusplus extern "C" { #endif /* * PC sampling profiling */ - #ifdef __STDC__ long pcsample(uintptr_t [], long); - #else - long pcsample(); - #endif /* __STDC__ */ #ifdef __cplusplus } #endif --- 18,46 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 1998 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _PCSAMPLE_H #define _PCSAMPLE_H #include <sys/types.h> #ifdef __cplusplus extern "C" { #endif /* * PC sampling profiling */ long pcsample(uintptr_t [], long); #ifdef __cplusplus } #endif