sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
19
app/xlockmore/xlock/erase_debug.h
Normal file
19
app/xlockmore/xlock/erase_debug.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#if !defined( lint ) && !defined( SABER )
|
||||
/* #ident "@(#)erase_debug.h 4.14 99/06/17 xlockmore" */
|
||||
|
||||
#endif
|
||||
|
||||
/*-
|
||||
* Erase Debug stuff
|
||||
*
|
||||
* See xlock.c for copying information.
|
||||
*
|
||||
* Revision History:
|
||||
* 17-06-99: Started log. :)
|
||||
*/
|
||||
|
||||
#if HAVE_GETTIMEOFDAY && defined( DEBUG )
|
||||
GETTIMEOFDAY(&tp);
|
||||
t_prev = (int) (tp.tv_sec * 1000 + tp.tv_usec / 1000);
|
||||
(void) printf( "Elapsed time in %s : %d\n" , ERASEMODE , t_prev - t_0 );
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue