libostree: Make OstreeLibarchiveInputStream explicitly private
We weren't installing the headers, but at the moment all symbols starting with ostree_ were being exported. Fix that by prefixing non-static symbols with '_'. https://bugzilla.gnome.org/show_bug.cgi?id=731369
This commit is contained in:
1 parent
51bf1fab0f
commit
9f734494ff
3 files changed
+9
-9
No files matched your search
@@ -26,7 +26,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define OSTREE_TYPE_LIBARCHIVE_INPUT_STREAM (ostree_libarchive_input_stream_get_type ())
|
||||
#define OSTREE_TYPE_LIBARCHIVE_INPUT_STREAM (_ostree_libarchive_input_stream_get_type ())
|
||||
#define OSTREE_LIBARCHIVE_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), OSTREE_TYPE_LIBARCHIVE_INPUT_STREAM, OstreeLibarchiveInputStream))
|
||||
#define OSTREE_LIBARCHIVE_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), OSTREE_TYPE_LIBARCHIVE_INPUT_STREAM, OstreeLibarchiveInputStreamClass))
|
||||
#define OSTREE_IS_LIBARCHIVE_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), OSTREE_TYPE_LIBARCHIVE_INPUT_STREAM))
|
||||
@@ -58,9 +58,9 @@ struct _OstreeLibarchiveInputStreamClass
|
||||
void (*_g_reserved5) (void);
|
||||
};
|
||||
|
||||
GType ostree_libarchive_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GType _ostree_libarchive_input_stream_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GInputStream * ostree_libarchive_input_stream_new (struct archive *a);
|
||||
GInputStream * _ostree_libarchive_input_stream_new (struct archive *a);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in new issue
Block a user