mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Turns out that the 68k GCC port does not sort constructor and
destructor functions in any way at all. I reimplemented the entire library constructor/destructor functionality to use the same approach as libnix. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14887 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: time_clock.c,v 1.4 2005-03-11 18:27:27 obarthel Exp $
|
||||
* $Id: time_clock.c,v 1.5 2005-03-12 14:10:09 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -43,10 +43,12 @@ static struct DateStamp start_time;
|
||||
|
||||
CLIB_CONSTRUCTOR(clock_init)
|
||||
{
|
||||
ENTER();
|
||||
|
||||
/* Remember when this program was started. */
|
||||
DateStamp(&start_time);
|
||||
|
||||
RETURN(OK);
|
||||
LEAVE();
|
||||
|
||||
CONSTRUCTOR_SUCCEED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user