1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/misc/gretl/files/patch-plugin::tramo-x12a.c
Ying-Chieh Liao e3dce69135 upgrade to 1.0.8
PR:		51864
Submitted by:	Ports Fury
2003-05-12 07:48:37 +00:00

26 lines
686 B
C

--- plugin/tramo-x12a.c.orig Tue Feb 18 05:20:25 2003
+++ plugin/tramo-x12a.c Sun May 4 03:27:36 2003
@@ -187,7 +187,7 @@
else strcpy(seats, "seats");
}
-static void truncate (char *str, int n)
+static void truncate_ (char *str, int n)
{
int len = strlen(str);
@@ -361,11 +361,11 @@
/* formulate name of new variable to add */
strcpy(varname, pdinfo->varname[0]);
if (opt == TRAMO_SEATS) {
- truncate(varname, 5);
+ truncate_(varname, 5);
strcat(varname, "_");
strncat(varname, tramo_series_strings[code], 2);
} else {
- truncate(varname, 4);
+ truncate_(varname, 4);
strcat(varname, "_");
strcat(varname, x12a_series_strings[code]);
}