1*37194Sbostic /* 2*37194Sbostic * Copyright (c) 1989 The Regents of the University of California. 3*37194Sbostic * All rights reserved. 4*37194Sbostic * 5*37194Sbostic * Redistribution and use in source and binary forms are permitted 6*37194Sbostic * provided that the above copyright notice and this paragraph are 7*37194Sbostic * duplicated in all such forms and that any documentation, 8*37194Sbostic * advertising materials, and other materials related to such 9*37194Sbostic * distribution and use acknowledge that the software was developed 10*37194Sbostic * by the University of California, Berkeley. The name of the 11*37194Sbostic * University may not be used to endorse or promote products derived 12*37194Sbostic * from this software without specific prior written permission. 13*37194Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14*37194Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15*37194Sbostic * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16*37194Sbostic */ 17*37194Sbostic 18*37194Sbostic #if defined(LIBC_SCCS) && !defined(lint) 19*37194Sbostic static char sccsid[] = "@(#)difftime.c 5.1 (Berkeley) 03/16/89"; 20*37194Sbostic #endif /* LIBC_SCCS and not lint */ 21*37194Sbostic 22*37194Sbostic #include <sys/types.h> 23*37194Sbostic 24*37194Sbostic double 25*37194Sbostic difftime(time1, time0) 26*37194Sbostic time_t time1, time0; 27*37194Sbostic { 28*37194Sbostic return(time1 - time0); 29*37194Sbostic } 30