From d5b1cb70d9b4c92331708a1c2fcd2045bdcaee5b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 13 May 2016 19:34:56 +0000 Subject: Prevent collision on getline(3) While here regen patches --- math/physcalc/files/patch-physmain.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'math/physcalc/files/patch-physmain.c') diff --git a/math/physcalc/files/patch-physmain.c b/math/physcalc/files/patch-physmain.c index c76d57866f58..65df3be4132f 100644 --- a/math/physcalc/files/patch-physmain.c +++ b/math/physcalc/files/patch-physmain.c @@ -1,6 +1,6 @@ ---- physmain.c.orig 1998-08-30 14:48:34.000000000 -0500 -+++ physmain.c 2009-06-25 22:32:46.000000000 -0500 -@@ -227,7 +227,7 @@ +--- physmain.c.orig 1998-08-30 12:48:34 UTC ++++ physmain.c +@@ -227,7 +227,7 @@ char const *s; printf("Replace %s = ",v->name); printexpr(v->value); printf(" ?"); @@ -9,7 +9,16 @@ printf("\n"); } else answer[0] = 'Y'; -@@ -711,7 +711,8 @@ +@@ -656,7 +656,7 @@ void LegalCrap() + + } + +-void main(argc, argv) ++int main(argc, argv) + int argc; + char *argv[]; + { /* Main program: Init vars, load unit & help data, enter main loop */ +@@ -711,7 +711,8 @@ char *argv[]; } else while (TRUE) { printf(">"); -- cgit v1.2.3