diff options
| author | Thomas Haller <thaller@redhat.com> | 2014-07-26 21:38:30 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2014-08-01 13:16:59 +0200 |
| commit | 0238f8f8e2d435f0a61ba2c7c4ffe2ec3129580b (patch) | |
| tree | d0cd46f59a45c6928677f8b00ee1b0a73a7c5a99 /libnm-glib | |
| parent | 22ca469011c37ee64dbec0958d54e263fb677f7f (diff) | |
| download | NetworkManager-0238f8f8e2d435f0a61ba2c7c4ffe2ec3129580b.tar.gz | |
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>
Diffstat (limited to 'libnm-glib')
| -rw-r--r-- | libnm-glib/nm-remote-connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-glib/nm-remote-connection.c b/libnm-glib/nm-remote-connection.c index ff5310c4fd..e3050b0169 100644 --- a/libnm-glib/nm-remote-connection.c +++ b/libnm-glib/nm-remote-connection.c @@ -68,13 +68,13 @@ typedef struct RemoteCall RemoteCall; typedef void (*RemoteCallFetchResultCb) (RemoteCall *call, DBusGProxyCall *proxy_call, GError *error); -typedef struct RemoteCall { +struct RemoteCall { NMRemoteConnection *self; DBusGProxyCall *call; RemoteCallFetchResultCb fetch_result_cb; GFunc callback; gpointer user_data; -} RemoteCall; +}; typedef struct { DBusGConnection *bus; |
