Commit e18acc06 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use the "timewrap.h" wrapper instead of including <time.h> and/or

<sys/time.h> directly.
parent a732f9c9
/*
* $Id: prot-a-parse.c,v 0.57 2003/07/12 00:18:34 ceder Exp $
* $Id: prot-a-parse.c,v 0.58 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -36,7 +36,7 @@
#include <assert.h>
#include <stdio.h>
#include <setjmp.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_STDLIB_H
......
/*
* $Id: prot-a-send-async.c,v 0.31 2003/07/12 00:18:36 ceder Exp $
* $Id: prot-a-send-async.c,v 0.32 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,7 @@
#endif
#include <setjmp.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_STDARG_H
......
/*
* $Id: prot-a.c,v 0.75 2003/07/12 00:18:39 ceder Exp $
* $Id: prot-a.c,v 0.76 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -38,7 +38,7 @@
# include <stdarg.h>
#endif
#include <setjmp.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include <sys/socket.h>
......
/*
* $Id: ram-output.c,v 0.42 2003/01/12 19:56:06 ceder Exp $
* $Id: ram-output.c,v 0.43 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -39,7 +39,7 @@
#endif
#include <stdio.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include "s-string.h"
......
/*
* $Id: ram-parse.c,v 0.53 2003/01/12 19:56:04 ceder Exp $
* $Id: ram-parse.c,v 0.54 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991, 1993-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -37,7 +37,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include "s-string.h"
......
/*
* $Id: ramkomd.c,v 0.113 2003/07/12 21:29:41 ceder Exp $
* $Id: ramkomd.c,v 0.114 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -55,20 +55,9 @@
# include <string.h>
#endif
#include <sys/wait.h>
#include "timewrap.h"
#ifdef HAVE_SYS_RESOURCE_H
# ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
# else
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# endif
# endif
# include <sys/resource.h>
#else
# include <time.h>
#endif
#include <unistd.h>
#include <setjmp.h>
......
/*
* $Id: regex-match.c,v 1.33 2002/10/05 07:23:34 ceder Exp $
* $Id: regex-match.c,v 1.34 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1992-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
#include <stdio.h>
#include <setjmp.h>
#include <sys/types.h>
#include <time.h>
#include "timewrap.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
......
/*
* $Id: rfc931.c,v 1.24 2003/07/12 00:18:49 ceder Exp $
* $Id: rfc931.c,v 1.25 2003/07/12 22:26:34 ceder Exp $
* Copyright (C) 1991-1994, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -43,7 +43,7 @@
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <time.h>
#include "timewrap.h"
#include "oop.h"
......
/*
* $Id: send-async.c,v 0.42 2003/07/12 21:29:43 ceder Exp $
* $Id: send-async.c,v 0.43 2003/07/12 22:26:35 ceder Exp $
* Copyright (C) 1991, 1993-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
#include <stdio.h>
#include <setjmp.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include "misc-types.h"
......
/*
* $Id: server-config.c,v 0.86 2003/07/12 21:43:41 ceder Exp $
* $Id: server-config.c,v 0.87 2003/07/12 22:26:35 ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -42,7 +42,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include <time.h>
#include "timewrap.h"
#include <assert.h>
#include <setjmp.h>
......
/*
* $Id: session.c,v 0.67 2003/07/12 21:29:55 ceder Exp $
* $Id: session.c,v 0.68 2003/07/12 22:26:35 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
#include <stdio.h>
#include <setjmp.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include "ldifftime.h"
......
/*
* $Id: simple-cache.c,v 0.103 2003/07/12 21:30:05 ceder Exp $
* $Id: simple-cache.c,v 0.104 2003/07/12 22:26:35 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -58,7 +58,7 @@
# define SEEK_SET 0
# define SEEK_END 2
#endif
#include <time.h>
#include "timewrap.h"
#include <setjmp.h>
#include "ldifftime.h"
......
......@@ -36,6 +36,7 @@
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include "timewrap.h"
#include "kom-types.h"
#include "s-string.h"
......
/*
* $Id: text-garb.c,v 0.44 2003/07/12 21:30:09 ceder Exp $
* $Id: text-garb.c,v 0.45 2003/07/12 22:26:35 ceder Exp $
* Copyright (C) 1991-1995, 1997-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -34,7 +34,7 @@
#endif
#include <stdio.h>
#include <time.h>
#include "timewrap.h"
#include <sys/types.h>
#include <setjmp.h>
......
/*
* $Id: text.c,v 0.105 2003/07/12 21:30:15 ceder Exp $
* $Id: text.c,v 0.106 2003/07/12 22:26:35 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -36,7 +36,7 @@
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <time.h>
#include "timewrap.h"
#include <setjmp.h>
#include <sys/types.h>
#include <sys/types.h>
......
/*
* $Id: updateLysKOM.c,v 1.19 2002/11/02 10:55:21 ceder Exp $
* $Id: updateLysKOM.c,v 1.20 2003/07/12 22:26:36 ceder Exp $
* Copyright (C) 1994-1995, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -47,7 +47,7 @@
#ifndef HAVE_STRCHR
# define strchr index
#endif
#include <time.h>
#include "timewrap.h"
#include <unistd.h>
#include "ldifftime.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment