Merge pull request #2055 from cgwalters/gtkdoc-warnings

lib: Squash two gtk-doc warnings
This commit is contained in:
OpenShift Merge Robot 2020-04-06 21:54:13 +02:00 committed by GitHub
commit eefb5241c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -24,9 +24,11 @@
#include "ostree-core.h" #include "ostree-core.h"
#include "ostree-types.h" #include "ostree-types.h"
#ifndef __GI_SCANNER__
#ifndef G_GNUC_DEPRECATED_FOR #ifndef G_GNUC_DEPRECATED_FOR
# define G_GNUC_DEPRECATED_FOR(x) # define G_GNUC_DEPRECATED_FOR(x)
#endif #endif
#endif
G_BEGIN_DECLS G_BEGIN_DECLS

View File

@ -694,7 +694,7 @@ void ostree_repo_commit_modifier_set_sepolicy (OstreeRepoCommitModifier
_OSTREE_PUBLIC _OSTREE_PUBLIC
gboolean ostree_repo_commit_modifier_set_sepolicy_from_commit (OstreeRepoCommitModifier *modifier, gboolean ostree_repo_commit_modifier_set_sepolicy_from_commit (OstreeRepoCommitModifier *modifier,
OstreeRepo *repo, OstreeRepo *repo,
const char *commit, const char *rev,
GCancellable *cancellable, GCancellable *cancellable,
GError **error); GError **error);