mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-13 04:40:37 +01:00
glib-aux: remove duplicate forward declartion of nm_ip_addr_zero
This commit is contained in:
parent
58e2ba0535
commit
7cf644f3d3
1 changed files with 1 additions and 4 deletions
|
|
@ -201,6 +201,7 @@ typedef struct {
|
|||
#define NM_ETHER_ADDR_INIT(...) ((NMEtherAddr) _NM_ETHER_ADDR_INIT(__VA_ARGS__))
|
||||
|
||||
struct _NMIPAddr;
|
||||
|
||||
extern const struct _NMIPAddr nm_ip_addr_zero;
|
||||
|
||||
/* Let's reuse nm_ip_addr_zero also for nm_ether_addr_zero. It's a union that
|
||||
|
|
@ -1344,10 +1345,6 @@ nm_g_variant_new_au(const guint32 *data, gsize len)
|
|||
return g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32, data, len, sizeof(guint32));
|
||||
}
|
||||
|
||||
struct _NMIPAddr;
|
||||
|
||||
extern const struct _NMIPAddr nm_ip_addr_zero;
|
||||
|
||||
static inline GVariant *
|
||||
nm_g_variant_new_ay_inaddr(int addr_family, gconstpointer addr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue