trivial: Fix missing G_BEGIN_DECLS's from public includes

This commit is contained in:
Richard Hughes 2019-02-10 08:59:07 +00:00
parent bfd946e463
commit 56445b0936
6 changed files with 24 additions and 0 deletions

View File

@ -10,4 +10,8 @@
#include "fwupd-common.h"
G_BEGIN_DECLS
gchar *fwupd_checksum_format_for_display (const gchar *checksum);
G_END_DECLS

View File

@ -8,6 +8,8 @@
#include <glib.h>
G_BEGIN_DECLS
#define FWUPD_DBUS_PATH "/"
#define FWUPD_DBUS_SERVICE "org.freedesktop.fwupd"
#define FWUPD_DBUS_INTERFACE "org.freedesktop.fwupd"
@ -67,3 +69,5 @@ gchar *fwupd_guid_hash_string (const gchar *str);
gchar *fwupd_guid_hash_data (const guint8 *data,
gsize datasz,
FwupdGuidFlags flags);
G_END_DECLS

View File

@ -6,4 +6,8 @@
#pragma once
G_BEGIN_DECLS
/* indeed, nothing */
G_END_DECLS

View File

@ -6,6 +6,8 @@
#pragma once
G_BEGIN_DECLS
#define FWUPD_RESULT_KEY_APPSTREAM_ID "AppstreamId" /* s */
#define FWUPD_RESULT_KEY_CHECKSUM "Checksum" /* as */
#define FWUPD_RESULT_KEY_CREATED "Created" /* t */
@ -44,3 +46,5 @@
#define FWUPD_RESULT_KEY_VERSION_BOOTLOADER "VersionBootloader" /* s */
#define FWUPD_RESULT_KEY_VERSION_LOWEST "VersionLowest" /* s */
#define FWUPD_RESULT_KEY_VERSION "Version" /* s */
G_END_DECLS

View File

@ -8,6 +8,8 @@
#include <glib.h>
G_BEGIN_DECLS
/**
* FwupdStatus:
* @FWUPD_STATUS_UNKNOWN: Unknown state
@ -182,3 +184,5 @@ const gchar *fwupd_trust_flag_to_string (FwupdTrustFlags trust_flag);
FwupdTrustFlags fwupd_trust_flag_from_string (const gchar *trust_flag);
FwupdKeyringKind fwupd_keyring_kind_from_string (const gchar *keyring_kind);
const gchar *fwupd_keyring_kind_to_string (FwupdKeyringKind keyring_kind);
G_END_DECLS

View File

@ -8,6 +8,8 @@
#include <glib.h>
G_BEGIN_DECLS
#define FWUPD_ERROR fwupd_error_quark()
/**
@ -51,3 +53,5 @@ typedef enum {
GQuark fwupd_error_quark (void);
const gchar *fwupd_error_to_string (FwupdError error);
FwupdError fwupd_error_from_string (const gchar *error);
G_END_DECLS