openbsd-ports/cad/chipmunk/patches/patch-until_V1_2_ffman_c
2012-03-18 18:05:03 +00:00

38 lines
980 B
Plaintext

$OpenBSD: patch-until_V1_2_ffman_c,v 1.1 2012/03/18 18:05:03 naddy Exp $
--- until/V1.2/ffman.c.orig Sun Mar 18 11:56:30 2012
+++ until/V1.2/ffman.c Sun Mar 18 11:57:01 2012
@@ -136,7 +136,7 @@ Static void read_error(Char *s)
}
-Static boolean getline(void)
+Static boolean get_line(void)
{
Char *TEMP;
@@ -181,13 +181,13 @@ Static boolean getInterestingLine(void)
if (cpos <= strlen(buffer))
return true;
- if (!getline())
+ if (!get_line())
return false;
q = true;
skip_blanks();
while (cpos > strlen(buffer) && q) {
- q = getline();
+ q = get_line();
skip_blanks();
}
return (q == true);
@@ -1512,7 +1512,7 @@ fileSpec *read_in_a_file(Char *s_)
strcpy(s, s_);
if (start_Read_operation(s)) {
fs = make_filespec(s, established);
- while (getline()) /*still more stuff out there*/
+ while (get_line()) /*still more stuff out there*/
f = read_figure();
Result = fs;
if (ff_file != NULL)