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