diff options
author | Denis Pynkin <denis.pynkin@collabora.com> | 2019-12-04 20:42:52 +0000 |
---|---|---|
committer | Denis Pynkin <denis.pynkin@collabora.com> | 2020-03-25 15:23:55 +0300 |
commit | b4050b4a34721f1302ade2f6a82a1148a243b46c (patch) | |
tree | f7816d5e50d55dd3685335594545647e00907713 /src/libostree/ostree-sign-ed25519.h | |
parent | 4d0e3a66c5ec6cf1063a057a8e0ccf3d8be3d615 (diff) | |
download | ostree-b4050b4a34721f1302ade2f6a82a1148a243b46c.tar.gz |
lib/sign: make ed25519 engine non-public
Remove unneeded public declaration for ed25519 signing engine.
Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Diffstat (limited to 'src/libostree/ostree-sign-ed25519.h')
-rw-r--r-- | src/libostree/ostree-sign-ed25519.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/libostree/ostree-sign-ed25519.h b/src/libostree/ostree-sign-ed25519.h index 6e5dd665..76c7e14d 100644 --- a/src/libostree/ostree-sign-ed25519.h +++ b/src/libostree/ostree-sign-ed25519.h @@ -30,17 +30,16 @@ G_BEGIN_DECLS -#define OSTREE_TYPE_SIGN_ED25519 (ostree_sign_ed25519_get_type ()) +#define OSTREE_TYPE_SIGN_ED25519 (_ostree_sign_ed25519_get_type ()) -_OSTREE_PUBLIC -GType ostree_sign_ed25519_get_type (void); +GType _ostree_sign_ed25519_get_type (void); G_GNUC_BEGIN_IGNORE_DEPRECATIONS typedef struct _OstreeSignEd25519 OstreeSignEd25519; typedef struct { GObjectClass parent_class; } OstreeSignEd25519Class; -static inline OstreeSignEd25519 *OSTREE_SIGN_ED25519 (gpointer ptr) { return G_TYPE_CHECK_INSTANCE_CAST (ptr, ostree_sign_ed25519_get_type (), OstreeSignEd25519); } -static inline gboolean OSTREE_IS_SIGN_ED25519 (gpointer ptr) { return G_TYPE_CHECK_INSTANCE_TYPE (ptr, ostree_sign_ed25519_get_type ()); } +static inline OstreeSignEd25519 *OSTREE_SIGN_ED25519 (gpointer ptr) { return G_TYPE_CHECK_INSTANCE_CAST (ptr, _ostree_sign_ed25519_get_type (), OstreeSignEd25519); } +static inline gboolean OSTREE_IS_SIGN_ED25519 (gpointer ptr) { return G_TYPE_CHECK_INSTANCE_TYPE (ptr, _ostree_sign_ed25519_get_type ()); } G_GNUC_END_IGNORE_DEPRECATIONS |