Print this page
remove support for non-ANSI compilation

*** 1,15 **** /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_TIMEB_H #define _SYS_TIMEB_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> --- 1,15 ---- /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_TIMEB_H #define _SYS_TIMEB_H #ifdef __cplusplus extern "C" { #endif #include <sys/types.h>
*** 58,72 **** unsigned short millitm; /* + milliseconds since the Epoch */ short timezone; /* minutes west of CUT */ short dstflag; /* DST == non-zero */ }; - #if defined(__STDC__) extern int ftime(struct timeb *); - #else - extern int ftime(); - #endif #ifdef __cplusplus } #endif --- 58,68 ----