[gvfs/wip/inigomartinez/meson] metadata: Use static keyword for private function
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/inigomartinez/meson] metadata: Use static keyword for private function
- Date: Wed, 27 Sep 2017 10:54:16 +0000 (UTC)
commit 3c68c995ffed1a05e408c7208604cef22a3bf60c
Author: Ondrej Holy <oholy redhat com>
Date: Thu Sep 21 19:48:42 2017 +0200
metadata: Use static keyword for private function
More warnings are printed when building thanks to meson port. Let's add
static keyword for private metafile_key_lookup_iter function in order
to prevent the following warning:
warning: no previous prototype for ‘metafile_key_lookup_iter’
https://bugzilla.gnome.org/show_bug.cgi?id=786149
metadata/metabuilder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/metadata/metabuilder.c b/metadata/metabuilder.c
index a8c8e3e..f45d20a 100644
--- a/metadata/metabuilder.c
+++ b/metadata/metabuilder.c
@@ -344,7 +344,7 @@ metafile_set_mtime (MetaFile *file,
file->last_changed = mtime;
}
-GSequenceIter *
+static GSequenceIter *
metafile_key_lookup_iter (MetaFile *file,
const char *key)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]