-/* -*- buffer-read-only: t -*- vi: set ro: */
-/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* exclude.c -- exclude file names
- Copyright (C) 1992-1994, 1997, 1999-2007, 2009-2014 Free Software
+ Copyright (C) 1992-1994, 1997, 1999-2007, 2009-2015 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
return matched;
}
-bool
+static bool
exclude_patopts (struct patopts const *opts, char const *f)
{
int options = opts->options;
static void
call_addfn (struct exclude *ex, char const *pattern, int options, void *data)
{
- void (*addfn) (struct exclude *, char const *, int) = data;
- addfn (ex, pattern, options);
+ void (**addfnptr) (struct exclude *, char const *, int) = data;
+ (*addfnptr) (ex, pattern, options);
}
int
else if (! (in = fopen (file_name, "r")))
return -1;
- rc = add_exclude_fp (call_addfn, ex, in, options, line_end, add_func);
+ rc = add_exclude_fp (call_addfn, ex, in, options, line_end, &add_func);
if (!use_stdin && fclose (in) != 0)
rc = -1;