xref: /csrg-svn/lib/libc/gen/difftime.c (revision 61111)
137194Sbostic /*
2*61111Sbostic  * Copyright (c) 1989, 1993
3*61111Sbostic  *	The Regents of the University of California.  All rights reserved.
437194Sbostic  *
542622Sbostic  * %sccs.include.redist.c%
637194Sbostic  */
737194Sbostic 
837194Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*61111Sbostic static char sccsid[] = "@(#)difftime.c	8.1 (Berkeley) 06/04/93";
1037194Sbostic #endif /* LIBC_SCCS and not lint */
1137194Sbostic 
1237194Sbostic #include <sys/types.h>
1337194Sbostic 
1437194Sbostic double
difftime(time1,time0)1537194Sbostic difftime(time1, time0)
1637194Sbostic 	time_t time1, time0;
1737194Sbostic {
1837194Sbostic 	return(time1 - time0);
1937194Sbostic }
20