mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 09:58:07 +02:00
libnm-glib: fix warning about redefining typedef RemoteCall
clang warns:
make[4]: Entering directory `./NetworkManager/libnm-glib'
CC libnm_glib_la-nm-remote-connection.lo
nm-remote-connection.c:77:3: error: redefinition of typedef 'RemoteCall' is a C11 feature [-Werror,-Wtypedef-redefinition]
} RemoteCall;
^
nm-remote-connection.c:67:27: note: previous definition is here
typedef struct RemoteCall RemoteCall;
^
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
22ca469011
commit
0238f8f8e2
1 changed files with 2 additions and 2 deletions
|
|
@ -68,13 +68,13 @@ typedef struct RemoteCall RemoteCall;
|
||||||
typedef void (*RemoteCallFetchResultCb) (RemoteCall *call, DBusGProxyCall *proxy_call, GError *error);
|
typedef void (*RemoteCallFetchResultCb) (RemoteCall *call, DBusGProxyCall *proxy_call, GError *error);
|
||||||
|
|
||||||
|
|
||||||
typedef struct RemoteCall {
|
struct RemoteCall {
|
||||||
NMRemoteConnection *self;
|
NMRemoteConnection *self;
|
||||||
DBusGProxyCall *call;
|
DBusGProxyCall *call;
|
||||||
RemoteCallFetchResultCb fetch_result_cb;
|
RemoteCallFetchResultCb fetch_result_cb;
|
||||||
GFunc callback;
|
GFunc callback;
|
||||||
gpointer user_data;
|
gpointer user_data;
|
||||||
} RemoteCall;
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
DBusGConnection *bus;
|
DBusGConnection *bus;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue