mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Callers of time(3) should #include <time.h>.
ok deraadt
This commit is contained in:
parent
8bf92a93a4
commit
ee7acb09aa
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: arithmetic.c,v 1.26 2016/01/27 13:42:08 gsoares Exp $ */
|
||||
/* $OpenBSD: arithmetic.c,v 1.27 2016/09/11 14:21:17 tb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -67,6 +67,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int getrandom(int, int, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: log.c,v 1.22 2016/03/16 15:00:35 mestre Exp $ */
|
||||
/* $OpenBSD: log.c,v 1.23 2016/09/11 14:21:17 tb Exp $ */
|
||||
/* $NetBSD: log.c,v 1.3 1995/03/21 15:04:21 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
@ -50,6 +50,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "extern.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: main.c,v 1.29 2016/03/07 13:48:25 jmc Exp $ */
|
||||
/* $OpenBSD: main.c,v 1.30 2016/09/11 14:21:17 tb Exp $ */
|
||||
/* $NetBSD: main.c,v 1.4 1995/04/27 21:22:25 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
@ -47,6 +47,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "extern.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: com6.c,v 1.22 2015/12/31 17:51:19 mestre Exp $ */
|
||||
/* $OpenBSD: com6.c,v 1.23 2016/09/11 14:21:17 tb Exp $ */
|
||||
/* $NetBSD: com6.c,v 1.5 1995/04/27 21:30:23 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
@ -36,6 +36,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "extern.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: mach.c,v 1.21 2016/01/10 14:10:38 mestre Exp $ */
|
||||
/* $OpenBSD: mach.c,v 1.22 2016/09/11 14:21:17 tb Exp $ */
|
||||
/* $NetBSD: mach.c,v 1.5 1995/04/28 22:28:48 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
@ -47,6 +47,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "bog.h"
|
||||
#include "extern.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: canfield.c,v 1.26 2016/01/10 13:35:09 mestre Exp $ */
|
||||
/* $OpenBSD: canfield.c,v 1.27 2016/09/11 14:21:17 tb Exp $ */
|
||||
/* $NetBSD: canfield.c,v 1.7 1995/05/13 07:28:35 jtc Exp $ */
|
||||
|
||||
/*
|
||||
@ -50,6 +50,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define decksize 52
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: hack.unix.c,v 1.19 2016/03/15 19:56:20 mestre Exp $ */
|
||||
/* $OpenBSD: hack.unix.c,v 1.20 2016/09/11 14:21:17 tb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
|
||||
@ -80,6 +80,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "hack.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: save.c,v 1.12 2016/01/08 18:09:59 mestre Exp $ */
|
||||
/* $OpenBSD: save.c,v 1.13 2016/09/11 14:21:18 tb Exp $ */
|
||||
/* $NetBSD: save.c,v 1.4 1995/03/24 05:02:13 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -36,6 +36,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "mille.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: execute.c,v 1.13 2016/01/08 18:20:33 mestre Exp $ */
|
||||
/* $OpenBSD: execute.c,v 1.14 2016/09/11 14:21:18 tb Exp $ */
|
||||
/* $NetBSD: execute.c,v 1.3 1995/03/23 08:34:38 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -36,6 +36,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "monop.ext"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: pom.c,v 1.23 2016/08/27 02:02:44 guenther Exp $ */
|
||||
/* $OpenBSD: pom.c,v 1.24 2016/09/11 14:21:18 tb Exp $ */
|
||||
/* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */
|
||||
|
||||
/*
|
||||
@ -51,6 +51,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef M_PI
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: sync.c,v 1.14 2016/01/08 20:26:33 mestre Exp $ */
|
||||
/* $OpenBSD: sync.c,v 1.15 2016/09/11 14:21:18 tb Exp $ */
|
||||
/* $NetBSD: sync.c,v 1.9 1998/08/30 09:19:40 veego Exp $ */
|
||||
|
||||
/*
|
||||
@ -39,6 +39,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "extern.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: snake.c,v 1.27 2016/03/16 15:00:35 mestre Exp $ */
|
||||
/* $OpenBSD: snake.c,v 1.28 2016/09/11 14:21:18 tb Exp $ */
|
||||
/* $NetBSD: snake.c,v 1.8 1995/04/29 00:06:41 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
@ -51,6 +51,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user