edbus: Remove space after for-like macros
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 19 Oct 2012 18:24:30 +0000 (18:24 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 19 Oct 2012 18:24:30 +0000 (18:24 +0000)
SVN revision: 78262

src/lib/edbus_core.c
src/lib/edbus_object.c
src/lib/edbus_proxy.c

index 66f5c47..9e5db08 100644 (file)
@@ -176,7 +176,7 @@ print_live_connection(EDBus_Connection *conn)
    else
      {
         EDBus_Pending *p;
-        EINA_INLIST_FOREACH (conn->pendings, p)
+        EINA_INLIST_FOREACH(conn->pendings, p)
           ERR("conn=%p alive pending call=%p dest=%s path=%s %s.%s()",
               conn, p,
               edbus_pending_destination_get(p),
@@ -272,7 +272,7 @@ edbus_cbs_free_del(Eina_Inlist *lst, EDBus_Free_Cb cb, const void *data)
 {
    EDBus_Context_Free_Cb *ctx;
 
-   EINA_INLIST_FOREACH (lst, ctx)
+   EINA_INLIST_FOREACH(lst, ctx)
      {
         if (ctx->cb != cb) continue;
         if ((data) && (ctx->data != data)) continue;
@@ -300,7 +300,7 @@ edbus_data_find(Eina_Inlist **p_lst, const char *key)
    unsigned int keylen = strlen(key);
    EDBus_Data *d;
 
-   EINA_INLIST_FOREACH (*p_lst, d)
+   EINA_INLIST_FOREACH(*p_lst, d)
      {
         if ((keylen == d->keylen) && (memcmp(key, d->key, keylen) == 0))
           {
@@ -845,7 +845,7 @@ cb_signal_dispatcher(EDBus_Connection *conn, DBusMessage *msg)
                           &edbus_msg->iterator->dbus_iterator);
    conn->running_signal = EINA_TRUE;
 
-   EINA_INLIST_FOREACH (conn->signal_handlers, sh)
+   EINA_INLIST_FOREACH(conn->signal_handlers, sh)
      {
         if (sh->sender)
           {
@@ -1061,7 +1061,7 @@ _edbus_connection_unref(EDBus_Connection *conn)
      {
         CRITICAL("Connection %p released with live pending calls!",
                 conn);
-        EINA_INLIST_FOREACH (conn->pendings, p)
+        EINA_INLIST_FOREACH(conn->pendings, p)
           ERR("conn=%p alive pending call=%p dest=%s path=%s %s.%s()",
               conn, p,
               edbus_pending_destination_get(p),
@@ -1091,10 +1091,10 @@ _edbus_connection_unref(EDBus_Connection *conn)
    dbus_connection_unref(conn->dbus_conn);
    conn->dbus_conn = NULL;
 
-   EINA_INLIST_FOREACH_SAFE (conn->fd_handlers, list, fd_handler)
+   EINA_INLIST_FOREACH_SAFE(conn->fd_handlers, list, fd_handler)
      edbus_fd_handler_del(fd_handler);
 
-   EINA_INLIST_FOREACH_SAFE (conn->timeouts, list, timer)
+   EINA_INLIST_FOREACH_SAFE(conn->timeouts, list, timer)
      edbus_timeout_data_free(timer->handler);
 
    edbus_data_del_all(&conn->data);
@@ -1245,7 +1245,7 @@ edbus_name_owner_changed_callback_del(EDBus_Connection *conn, const char *bus, E
    cn = eina_hash_find(conn->names, bus);
    EINA_SAFETY_ON_NULL_RETURN(cn);
 
-   EINA_INLIST_FOREACH (cn->event_handlers.list, iter)
+   EINA_INLIST_FOREACH(cn->event_handlers.list, iter)
      {
         if (cb != iter->cb) continue;
         if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -1316,7 +1316,7 @@ edbus_connection_event_callback_del(EDBus_Connection *conn, EDBus_Connection_Eve
 
    ce = conn->event_handlers + type;
 
-   EINA_INLIST_FOREACH (ce->list, iter)
+   EINA_INLIST_FOREACH(ce->list, iter)
      {
         if (cb != iter->cb) continue;
         if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -1347,7 +1347,7 @@ _edbus_connection_event_callback_call(EDBus_Connection *conn, EDBus_Connection_E
    ce = conn->event_handlers + type;
 
    ce->walking++;
-   EINA_INLIST_FOREACH (ce->list, iter)
+   EINA_INLIST_FOREACH(ce->list, iter)
      {
         if (iter->deleted) continue;
         iter->cb((void *)iter->cb_data, conn, (void *)event_info);
@@ -1355,7 +1355,7 @@ _edbus_connection_event_callback_call(EDBus_Connection *conn, EDBus_Connection_E
    ce->walking--;
    if (ce->walking > 0) return;
 
-   EINA_LIST_FREE (ce->to_delete, iter)
+   EINA_LIST_FREE(ce->to_delete, iter)
      _edbus_connection_context_event_cb_del(ce, iter);
 }
 
index fb0fe66..6bb1510 100644 (file)
@@ -129,14 +129,14 @@ _edbus_object_free(EDBus_Object *obj)
      {
         Eina_Iterator *iterator = eina_hash_iterator_data_new(obj->proxies);
         EDBus_Proxy *proxy;
-        EINA_ITERATOR_FOREACH (iterator, proxy)
+        EINA_ITERATOR_FOREACH(iterator, proxy)
           ERR("obj=%p alive proxy=%p %s", obj, proxy,
               edbus_proxy_interface_get(proxy));
         eina_iterator_free(iterator);
         eina_hash_free(obj->proxies);
      }
 
-   EINA_LIST_FREE (obj->signal_handlers, h)
+   EINA_LIST_FREE(obj->signal_handlers, h)
      {
         if (h->dangling)
           edbus_signal_handler_cb_free_del(h, _on_signal_handler_free, obj);
@@ -302,7 +302,7 @@ edbus_object_event_callback_del(EDBus_Object *obj, EDBus_Object_Event_Type type,
 
    ce = obj->event_handlers + type;
 
-   EINA_INLIST_FOREACH (ce->list, iter)
+   EINA_INLIST_FOREACH(ce->list, iter)
      {
         if (cb != iter->cb) continue;
         if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -333,7 +333,7 @@ _edbus_object_event_callback_call(EDBus_Object *obj, EDBus_Object_Event_Type typ
    ce = obj->event_handlers + type;
 
    ce->walking++;
-   EINA_INLIST_FOREACH (ce->list, iter)
+   EINA_INLIST_FOREACH(ce->list, iter)
      {
         if (iter->deleted) continue;
         iter->cb((void *)iter->cb_data, obj, (void *)event_info);
@@ -341,7 +341,7 @@ _edbus_object_event_callback_call(EDBus_Object *obj, EDBus_Object_Event_Type typ
    ce->walking--;
    if (ce->walking > 0) return;
 
-   EINA_LIST_FREE (ce->to_delete, iter)
+   EINA_LIST_FREE(ce->to_delete, iter)
      _edbus_object_context_event_cb_del(ce, iter);
 }
 
index 0d33e8d..40b3bcf 100644 (file)
@@ -148,7 +148,7 @@ _edbus_proxy_free(EDBus_Proxy *proxy)
    unsigned int i;
    EDBus_Signal_Handler *h;
 
-   EINA_LIST_FREE (proxy->handlers, h)
+   EINA_LIST_FREE(proxy->handlers, h)
      {
         if (h->dangling)
          edbus_signal_handler_cb_free_del(h, _on_signal_handler_free, proxy);
@@ -306,7 +306,7 @@ edbus_proxy_event_callback_del(EDBus_Proxy *proxy, EDBus_Proxy_Event_Type type,
 
    ce = proxy->event_handlers + type;
 
-   EINA_INLIST_FOREACH (ce->list, iter)
+   EINA_INLIST_FOREACH(ce->list, iter)
      {
         if (cb != iter->cb) continue;
         if ((cb_data) && (cb_data != iter->cb_data)) continue;
@@ -337,7 +337,7 @@ _edbus_proxy_event_callback_call(EDBus_Proxy *proxy, EDBus_Proxy_Event_Type type
    ce = proxy->event_handlers + type;
 
    ce->walking++;
-   EINA_INLIST_FOREACH (ce->list, iter)
+   EINA_INLIST_FOREACH(ce->list, iter)
      {
         if (iter->deleted) continue;
         iter->cb((void *)iter->cb_data, proxy, (void *)event_info);
@@ -345,7 +345,7 @@ _edbus_proxy_event_callback_call(EDBus_Proxy *proxy, EDBus_Proxy_Event_Type type
    ce->walking--;
    if (ce->walking > 0) return;
 
-   EINA_LIST_FREE (ce->to_delete, iter)
+   EINA_LIST_FREE(ce->to_delete, iter)
      _edbus_proxy_context_event_cb_del(ce, iter);
 }