1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/textproc/sary/files/patch-src_mksary.c
Koop Mast 951c1f5d1c The FreeBSD GNOME team proudly presents GNOME 3.28 for FreeBSD.
The offical GNOME 3.28 release notes can be found at
https://help.gnome.org/misc/release-notes/3.28/

Thanks to Antoine Brodin for running the exp-runs.

PR:		229761
2018-09-30 11:58:29 +00:00

39 lines
1.1 KiB
C

--- src/mksary.c.orig 2004-06-11 18:57:28 UTC
+++ src/mksary.c
@@ -59,7 +59,7 @@ CodesetFunc codeset_func_tab[] = {
static SaryIpointFunc dispatch_codeset_func (const gchar *codeset);
static SaryBuilder* new_builder (const gchar *file_name,
const gchar *array_name);
-static void index (SaryBuilder *builder,
+static void mk_index (SaryBuilder *builder,
const gchar *file_name,
const gchar *array_name);
static void sort (SaryBuilder *builder,
@@ -149,7 +149,7 @@ new_builder (const gchar *file_name, const gchar *arra
}
static void
-index (SaryBuilder *builder,
+mk_index (SaryBuilder *builder,
const gchar *file_name,
const gchar *array_name)
{
@@ -186,7 +186,7 @@ index_and_sort (SaryBuilder *builder,
const gchar *file_name,
const gchar *array_name)
{
- index(builder, file_name, array_name);
+ mk_index(builder, file_name, array_name);
sort(builder, file_name, array_name);
}
@@ -358,7 +358,7 @@ parse_options (int argc, char **argv)
show_help();
break;
case 'i':
- process = index;
+ process = mk_index;
break;
case 'l':
ipoint_func = sary_ipoint_line;