Print this page
remove support for non-ANSI compilation

*** 11,29 **** * makes no representations about the suitability this software for any * purpose. It is provided "as is" without express or implied warranty. */ /* * Copyright 1996-1997, 2002 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_TIMEX_H #define _SYS_TIMEX_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> --- 11,29 ---- * makes no representations about the suitability this software for any * purpose. It is provided "as is" without express or implied warranty. */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 1996-1997, 2002 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_TIMEX_H #define _SYS_TIMEX_H #ifdef __cplusplus extern "C" { #endif #include <sys/types.h>
*** 235,254 **** int32_t calcnt; /* calibration intervals (ro) */ int32_t errcnt; /* calibration errors (ro) */ int32_t stbcnt; /* stability limit exceeded (ro) */ }; - #if defined(__STDC__) /* * NTP syscalls */ int ntp_gettime(struct ntptimeval *); int ntp_adjtime(struct timex *); - #else - int ntp_gettime(); - int ntp_adjtime(); - #endif /* __STDC__ */ #ifdef _KERNEL extern int32_t time_state; /* clock state */ extern int32_t time_status; /* clock status bits */ --- 235,249 ----