missing prototypes

This commit is contained in:
espie 2004-01-05 14:37:04 +00:00
parent a8f23adb91
commit b349417b6d
4 changed files with 39 additions and 4 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_libtp_tests_daytime_c,v 1.1 2004/01/05 14:37:04 espie Exp $
--- src/libtp/tests/daytime.c.orig 2004-01-05 15:26:23.000000000 +0100
+++ src/libtp/tests/daytime.c 2004-01-05 15:26:33.000000000 +0100
@@ -9,6 +9,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <tp.h>
int main(int argc, char **argv)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_libtp_tests_fing_c,v 1.1 2004/01/05 14:37:04 espie Exp $
--- src/libtp/tests/fing.c.orig 2004-01-05 15:29:11.000000000 +0100
+++ src/libtp/tests/fing.c 2004-01-05 15:29:23.000000000 +0100
@@ -18,6 +18,8 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <tp.h>
Tpexcept_f tpexcept;

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_libtp_tests_hhead_c,v 1.1 2004/01/05 14:37:04 espie Exp $
--- src/libtp/tests/hhead.c.orig 2004-01-05 15:29:46.000000000 +0100
+++ src/libtp/tests/hhead.c 2004-01-05 15:29:54.000000000 +0100
@@ -13,6 +13,7 @@
#ifdef STDC_HEADERS
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#endif
#ifdef HAVE_ERRNO_H

View File

@ -1,11 +1,12 @@
$OpenBSD: patch-src_libtp_tests_testuri_c,v 1.1 2002/03/29 07:09:51 pvalchev Exp $
--- src/libtp/tests/testuri.c.orig Thu Mar 28 22:45:33 2002
+++ src/libtp/tests/testuri.c Thu Mar 28 22:45:43 2002
@@ -4,6 +4,7 @@
$OpenBSD: patch-src_libtp_tests_testuri_c,v 1.2 2004/01/05 14:37:04 espie Exp $
--- src/libtp/tests/testuri.c.orig 2000-04-02 01:34:03.000000000 +0200
+++ src/libtp/tests/testuri.c 2004-01-05 15:30:10.000000000 +0100
@@ -4,6 +4,8 @@
#ifdef STDC_HEADERS
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#endif
#include <uri.h>