From: Kern Sibbald Date: Sun, 31 Jan 2016 21:09:30 +0000 (-0800) Subject: Remove exporting add_mtab_item -- fixes bug #2198 X-Git-Tag: Release-7.4.0a~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=493726e6a9b82c06ac6c80bdc6fec17fd5e43499;p=bacula%2Fbacula Remove exporting add_mtab_item -- fixes bug #2198 --- diff --git a/bacula/src/findlib/fstype.c b/bacula/src/findlib/fstype.c index ab3b20616e..4fc4f2669b 100644 --- a/bacula/src/findlib/fstype.c +++ b/bacula/src/findlib/fstype.c @@ -67,9 +67,9 @@ static int compare_mtab_items(void *item1, void *item2) return 0; } -void add_mtab_item(void *user_ctx, struct stat *st, const char *fstype, - const char *mountpoint, const char *mntopts, - const char *fsname) +static void add_mtab_item(void *user_ctx, struct stat *st, const char *fstype, + const char *mountpoint, const char *mntopts, + const char *fsname) { rblist *mtab_list = (rblist *)user_ctx; mtab_item *item, *ritem; diff --git a/bacula/src/tools/fstype.c b/bacula/src/tools/fstype.c index d61e0f28b8..f8240a7c25 100644 --- a/bacula/src/tools/fstype.c +++ b/bacula/src/tools/fstype.c @@ -68,9 +68,9 @@ void print_mtab_item(void *user_ctx, struct stat *st, const char *fstype, ((void *)st->st_dev), fstype, mountpoint, mntopts); } -void add_mtab_item(void *user_ctx, struct stat *st, const char *fstype, - const char *mountpoint, const char *mntopts, - const char *fsname) +static void add_mtab_item(void *user_ctx, struct stat *st, const char *fstype, + const char *mountpoint, const char *mntopts, + const char *fsname) { rblist *mtab_list = (rblist *)user_ctx; mtab_item *item, *ritem;