diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-13 19:34:56 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-13 19:34:56 +0000 |
commit | d5b1cb70d9b4c92331708a1c2fcd2045bdcaee5b (patch) | |
tree | f0c86616dba7ec0dfd8149763376b632ea419a3f /math/physcalc/files/patch-physmain.c | |
parent | sysutils/smartmontools: 6.4 -> 6.5 (diff) |
Prevent collision on getline(3)
While here regen patches
Notes
Notes:
svn path=/head/; revision=415141
Diffstat (limited to '')
-rw-r--r-- | math/physcalc/files/patch-physmain.c | 17 |
1 files changed, 13 insertions, 4 deletions
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(">"); |