mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-27 09:09:10 +00:00
Remove unused timeoday.c and timeofday.c files. (#62)
This commit is contained in:
@@ -30,7 +30,6 @@ s/osmessage/osmsg/g
|
||||
s/osmessage/osmsg/g
|
||||
s/setsysout/setsout/g
|
||||
s/socketdvr/socdvr/g
|
||||
s/timeofday/timeoday/g
|
||||
s/usersubrs/usrsubr/g
|
||||
s/InitXevent/Xinit/g
|
||||
s/LispWindow/Xlspwin/g
|
||||
|
||||
@@ -30,7 +30,6 @@ s/osmessage\.c/osmsg\.c/g
|
||||
s/osmessage\.h/osmsg\.h/g
|
||||
s/setsysout\.c/setsout\.c/g
|
||||
s/socketdvr\.c/socdvr\.c/g
|
||||
s/timeofday\.c/timeoday\.c/g
|
||||
s/usersubrs\.c/usrsubr\.c/g
|
||||
s/InitXevent\.c/Xinit\.c/g
|
||||
s/LispWindow\.c/Xlspwin\.c/g
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/* $Id: timeoday.c,v 1.2 1999/01/03 02:07:37 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved
|
||||
*/
|
||||
static char *id = "$Id: timeoday.c,v 1.2 1999/01/03 02:07:37 sybalsky Exp $ Copyright (C) Venue";
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
/* (C) Copyright 1989-95 Venue. All Rights Reserved. */
|
||||
/* Manufactured in the United States of America. */
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#include "version.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
void gettimeofday(struct timeval *time, int ptr)
|
||||
{
|
||||
struct rusage stats;
|
||||
getrusage(RUSAGE_SELF, &stats);
|
||||
time->tv_sec = stats.ru_utime.tv_sec;
|
||||
time->tv_usec = stats.ru_utime.tv_usec;
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
/* $Id: timeofday.c,v 1.2 1999/01/03 02:07:37 sybalsky Exp $ (C) Copyright Venue, All Rights
|
||||
* Reserved */
|
||||
static char *id = "$Id: timeofday.c,v 1.2 1999/01/03 02:07:37 sybalsky Exp $ Copyright (C) Venue";
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
/* (C) Copyright 1989-95 Venue. All Rights Reserved. */
|
||||
/* Manufactured in the United States of America. */
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#include "version.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
void gettimeofday(struct timeval *time, int ptr)
|
||||
{
|
||||
struct rusage stats;
|
||||
getrusage(RUSAGE_SELF, &stats);
|
||||
time->tv_sec = stats.ru_utime.tv_sec;
|
||||
time->tv_usec = stats.ru_utime.tv_usec;
|
||||
}
|
||||
Reference in New Issue
Block a user