Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h Makefile.am aclass.c backgrounds.c buttons.c cmclass.c 
        comms.c container.c cursors.c desktops.c ecompmgr.c emodule.c 
        emodule.h focus.c fx.c groups.c iclass.c ipc.c magwin.c main.c 
        menus.c mod-misc.c mod-trans.c pager.c screen.c slideout.c 
        snaps.c snaps.h sound.c tclass.c theme.c tooltips.c 
        windowmatch.c 
Added Files:
        comms.h ipc.h 


Log Message:
Eliminate unused parameter in IPC functions. Move some stuff out of E.h.

===================================================================
RCS file: /cvs/e/e16/e/src/E.h,v
retrieving revision 1.583
retrieving revision 1.584
diff -u -3 -r1.583 -r1.584
--- E.h 7 May 2007 23:26:13 -0000       1.583
+++ E.h 18 May 2007 08:25:01 -0000      1.584
@@ -204,8 +204,6 @@
  */
 #include "etypes.h"
 
-typedef struct _client Client;
-
 typedef struct
 {
    int                 min, max;
@@ -214,22 +212,6 @@
 
 typedef struct
 {
-   void                (*func) (const char *line, Client * c);
-   const char         *name;
-   const char         *nick;
-   const char         *help_text;
-   const char         *extended_help_text;
-}
-IpcItem;
-
-typedef struct
-{
-   int                 num;
-   const IpcItem      *lst;
-} IpcItemList;
-
-typedef struct
-{
    Window              xwin;
    Win                 win;
    Visual             *vis;
@@ -577,14 +559,6 @@
 void                Espawn(int argc, char **argv);
 void                EspawnCmd(const char *cmd);
 
-/* comms.c */
-void                CommsInit(void);
-void                CommsSend(Client * c, const char *s);
-void                CommsFlush(Client * c);
-void                CommsSendToMasterWM(const char *s);
-void                CommsBroadcast(const char *s);
-void                CommsBroadcastToSlaveWMs(const char *s);
-
 /* config.c */
 void                SkipTillEnd(FILE * ConfigFile);
 char               *GetLine(char *s, int size, FILE * f);
@@ -633,12 +607,6 @@
 void                SignalsRestore(void);
 void                HandleXError(Display * d, XErrorEvent * ev);
 void                HandleXIOError(Display * d);
-
-/* ipc.c */
-void __PRINTF__     IpcPrintf(const char *fmt, ...);
-int                 HandleIPC(const char *params, Client * c);
-int                 EFunc(EWin * ewin, const char *params);
-void                EFuncDefer(EWin * ewin, const char *params);
 
 /* main.c */
 void                EExit(int exitcode);
===================================================================
RCS file: /cvs/e/e16/e/src/Makefile.am,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -3 -r1.85 -r1.86
--- Makefile.am 7 Apr 2007 13:19:30 -0000       1.85
+++ Makefile.am 18 May 2007 08:25:01 -0000      1.86
@@ -28,7 +28,7 @@
        borders.c               borders.h               \
        buttons.c               buttons.h               \
        cmclass.c               \
-       comms.c                 \
+       comms.c                 comms.h \
        conf.h                  \
        config.c                \
        container.c             container.h             \
@@ -66,7 +66,7 @@
        iclass.c                iclass.h                \
        iconify.c               \
        icons.c                 icons.h                 \
-       ipc.c                   \
+       ipc.c                   ipc.h \
        lang.c                  lang.h                  \
        main.c                  \
        memory.c                \
===================================================================
RCS file: /cvs/e/e16/e/src/aclass.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- aclass.c    25 Feb 2007 20:44:22 -0000      1.41
+++ aclass.c    18 May 2007 08:25:01 -0000      1.42
@@ -1196,7 +1196,7 @@
 }
 
 static void
-AclassIpc(const char *params, Client * c __UNUSED__)
+AclassIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
@@ -1258,7 +1258,7 @@
 
 /* Should only be used via e16keyedit */
 static void
-IPC_KeybindingsGet(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_KeybindingsGet(const char *params __UNUSED__)
 {
    ActionClass        *ac;
    Action             *aa;
@@ -1331,7 +1331,7 @@
 
 /* Should only be used via e16keyedit */
 static void
-IPC_KeybindingsSet(const char *params, Client * c __UNUSED__)
+IPC_KeybindingsSet(const char *params)
 {
    ActionClass        *ac;
    Action             *aa;
===================================================================
RCS file: /cvs/e/e16/e/src/backgrounds.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -3 -r1.93 -r1.94
--- backgrounds.c       7 Apr 2007 16:18:53 -0000       1.93
+++ backgrounds.c       18 May 2007 08:25:01 -0000      1.94
@@ -2512,7 +2512,7 @@
 }
 
 static void
-BackgroundsIpc(const char *params, Client * c __UNUSED__)
+BackgroundsIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128], buf[4096];
@@ -2633,7 +2633,7 @@
 }
 
 static void
-IPC_BackgroundUse(const char *params, Client * c __UNUSED__)
+IPC_BackgroundUse(const char *params)
 {
    char                name[1024];
    const char         *p;
@@ -2665,7 +2665,7 @@
 
 #if ENABLE_COLOR_MODIFIERS
 static void
-IPC_BackgroundColormodifierSet(const char *params, Client * c __UNUSED__)
+IPC_BackgroundColormodifierSet(const char *params)
 {
    Background         *bg;
    ColorModifierClass *cm;
@@ -2696,7 +2696,7 @@
 }
 
 static void
-IPC_BackgroundColormodifierGet(const char *params, Client * c)
+IPC_BackgroundColormodifierGet(const char *params)
 {
    char                param1[FILEPATH_LEN_MAX], buf[FILEPATH_LEN_MAX];
    Background         *bg;
@@ -2709,7 +2709,7 @@
    Esnprintf(buf, sizeof(buf), "(null)");
    if ((bg) && (bg->cmclass))
       Esnprintf(buf, sizeof(buf), "%s", bg->cmclass->name);
-   CommsSend(c, buf);
+   IpcPrintf(buf);
 }
 #endif
 
===================================================================
RCS file: /cvs/e/e16/e/src/buttons.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -3 -r1.101 -r1.102
--- buttons.c   25 Feb 2007 19:03:19 -0000      1.101
+++ buttons.c   18 May 2007 08:25:01 -0000      1.102
@@ -1098,7 +1098,7 @@
 }
 
 static void
-ButtonsIpc(const char *params, Client * c __UNUSED__)
+ButtonsIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
@@ -1134,7 +1134,7 @@
 }
 
 static void
-IPC_ButtonShow(const char *params, Client * c __UNUSED__)
+IPC_ButtonShow(const char *params)
 {
    doHideShowButton(params);
 }
===================================================================
RCS file: /cvs/e/e16/e/src/cmclass.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- cmclass.c   25 Feb 2007 20:44:22 -0000      1.24
+++ cmclass.c   18 May 2007 08:25:01 -0000      1.25
@@ -434,7 +434,7 @@
 #if 0                          /* Unused */
 
 static void
-IPC_ColorModifierClass(const char *params, Client * c)
+IPC_ColorModifierClass(const char *params)
 {
    char                buf[FILEPATH_LEN_MAX];
 
@@ -496,11 +496,11 @@
      }
 
    if (buf[0])
-      CommsSend(c, buf);
+      IpcPrintf(buf);
 }
 
 static void
-IPC_ColormodifierDelete(const char *params, Client * c __UNUSED__)
+IPC_ColormodifierDelete(const char *params)
 {
    char                param1[FILEPATH_LEN_MAX], buf[FILEPATH_LEN_MAX];
    ColorModifierClass *cm;
@@ -516,7 +516,7 @@
 }
 
 static void
-IPC_ColormodifierGet(const char *params, Client * c)
+IPC_ColormodifierGet(const char *params)
 {
    char                param1[FILEPATH_LEN_MAX];
    char                buf[FILEPATH_LEN_MAX], buf2[FILEPATH_LEN_MAX];
@@ -558,11 +558,11 @@
             strcat(buf, buf2);
          }
      }
-   CommsSend(c, buf);
+   IpcPrintf(buf);
 }
 
 static void
-IPC_ColormodifierSet(const char *params, Client * c __UNUSED__)
+IPC_ColormodifierSet(const char *params)
 {
    char                w[FILEPATH_LEN_MAX];
    ColorModifierClass *cm;
===================================================================
RCS file: /cvs/e/e16/e/src/comms.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -3 -r1.81 -r1.82
--- comms.c     17 Jan 2007 01:10:42 -0000      1.81
+++ comms.c     18 May 2007 08:25:02 -0000      1.82
@@ -22,6 +22,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 #include "E.h"
+#include "comms.h"
 #include "e16-ecore_hints.h"
 #include "e16-ecore_list.h"
 #include "xwin.h"
@@ -331,11 +332,10 @@
 void
 CommsFlush(Client * c)
 {
-   if (!c)
+   if (!c || c->replied)
       return;
 
-   if (!c->replied)
-      CommsDoSend(WinGetXwin(c->win), "");
+   CommsDoSend(WinGetXwin(c->win), "");
 }
 
 /*
===================================================================
RCS file: /cvs/e/e16/e/src/container.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- container.c 29 Apr 2007 13:13:03 -0000      1.11
+++ container.c 18 May 2007 08:25:02 -0000      1.12
@@ -1962,7 +1962,7 @@
  * IPC functions
  */
 static void
-ContainerIpc(const char *params, Client * c __UNUSED__)
+ContainerIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128];
===================================================================
RCS file: /cvs/e/e16/e/src/cursors.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- cursors.c   17 Jan 2007 01:10:42 -0000      1.41
+++ cursors.c   18 May 2007 08:25:02 -0000      1.42
@@ -350,7 +350,7 @@
 }
 
 static void
-CursorsIpc(const char *params, Client * c __UNUSED__)
+CursorsIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/desktops.c,v
retrieving revision 1.258
retrieving revision 1.259
diff -u -3 -r1.258 -r1.259
--- desktops.c  23 Mar 2007 22:04:38 -0000      1.258
+++ desktops.c  18 May 2007 08:25:02 -0000      1.259
@@ -2716,7 +2716,7 @@
 }
 
 static void
-DesksIpcDesk(const char *params, Client * c __UNUSED__)
+DesksIpcDesk(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128];
@@ -2814,7 +2814,7 @@
 }
 
 static void
-DesksIpcArea(const char *params, Client * c __UNUSED__)
+DesksIpcArea(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128];
===================================================================
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -3 -r1.151 -r1.152
--- ecompmgr.c  29 Apr 2007 14:48:09 -0000      1.151
+++ ecompmgr.c  18 May 2007 08:25:02 -0000      1.152
@@ -2770,7 +2770,7 @@
 }
 
 static void
-CompMgrIpc(const char *params, Client * c __UNUSED__)
+CompMgrIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/emodule.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- emodule.c   17 Jan 2007 01:10:42 -0000      1.7
+++ emodule.c   18 May 2007 08:25:02 -0000      1.8
@@ -72,7 +72,7 @@
        if (strcasecmp(cmd, pi->name) && (!pi->nick || strcmp(cmd, pi->nick)))
           continue;
 
-       pi->func(prm, NULL);
+       pi->func(prm);
        break;
      }
 }
===================================================================
RCS file: /cvs/e/e16/e/src/emodule.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- emodule.h   13 Jan 2007 19:14:27 -0000      1.11
+++ emodule.h   18 May 2007 08:25:02 -0000      1.12
@@ -24,6 +24,7 @@
 #define _EMODULE_H_
 
 #include "econfig.h"
+#include "ipc.h"
 
 typedef struct
 {
===================================================================
RCS file: /cvs/e/e16/e/src/focus.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -3 -r1.163 -r1.164
--- focus.c     25 Mar 2007 08:53:36 -0000      1.163
+++ focus.c     18 May 2007 08:25:02 -0000      1.164
@@ -898,7 +898,7 @@
 }
 
 static void
-FocusIpc(const char *params, Client * c __UNUSED__)
+FocusIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/fx.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- fx.c        6 Apr 2007 22:20:07 -0000       1.80
+++ fx.c        18 May 2007 08:25:02 -0000      1.81
@@ -924,7 +924,7 @@
 };
 
 static void
-FxIpc(const char *params, Client * c __UNUSED__)
+FxIpc(const char *params)
 {
    char                word1[1024];
    char                word2[1024];
===================================================================
RCS file: /cvs/e/e16/e/src/groups.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- groups.c    4 Mar 2007 23:35:02 -0000       1.94
+++ groups.c    18 May 2007 08:25:02 -0000      1.95
@@ -1105,7 +1105,7 @@
 }
 
 static void
-IPC_GroupInfo(const char *params, Client * c __UNUSED__)
+IPC_GroupInfo(const char *params)
 {
    Group              *group;
 
@@ -1125,7 +1125,7 @@
 }
 
 static void
-IPC_GroupOps(const char *params, Client * c __UNUSED__)
+IPC_GroupOps(const char *params)
 {
    Group              *group = Mode_groups.current;
    char                windowid[128];
@@ -1195,7 +1195,7 @@
 }
 
 static void
-IPC_Group(const char *params, Client * c __UNUSED__)
+IPC_Group(const char *params)
 {
    char                groupid[128];
    char                operation[128];
@@ -1315,7 +1315,7 @@
 }
 
 static void
-GroupsIpc(const char *params, Client * c __UNUSED__)
+GroupsIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128];
===================================================================
RCS file: /cvs/e/e16/e/src/iclass.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -3 -r1.116 -r1.117
--- iclass.c    6 Apr 2007 22:20:07 -0000       1.116
+++ iclass.c    18 May 2007 08:25:02 -0000      1.117
@@ -1466,7 +1466,7 @@
 }
 
 static void
-ImageclassIpc(const char *params, Client * c __UNUSED__)
+ImageclassIpc(const char *params)
 {
    char                param1[1024];
    char                param2[1024];
===================================================================
RCS file: /cvs/e/e16/e/src/ipc.c,v
retrieving revision 1.299
retrieving revision 1.300
diff -u -3 -r1.299 -r1.300
--- ipc.c       15 Apr 2007 08:58:46 -0000      1.299
+++ ipc.c       18 May 2007 08:25:02 -0000      1.300
@@ -24,6 +24,7 @@
 #include "E.h"
 #include "aclass.h"
 #include "borders.h"           /* FIXME - Should not be here */
+#include "comms.h"
 #include "desktops.h"
 #include "emodule.h"
 #include "eobj.h"
@@ -42,38 +43,30 @@
 #define SS(s) ((s) ? (s) : NoText)
 static const char   NoText[] = "-NONE-";
 
-static size_t       bufsiz;
-static char        *bufptr;
-
-static void
-OpacityTimeout(int val, void *data __UNUSED__)
-{
-   EWin               *ewin;
-
-   ewin = EwinFindByClient(val);
-   if (ewin)
-      if (ewin->state.active)
-        EoChangeOpacity(ewin, ewin->props.focused_opacity);
-}
+static size_t       ipc_bufsiz;
+static char        *ipc_bufptr;
 
 static void
 IpcPrintInit(void)
 {
-   bufsiz = 0;
-   bufptr = NULL;
+   ipc_bufsiz = 0;
+   ipc_bufptr = NULL;
 }
 
 static void
 IpcPrintFlush(Client * c)
 {
-   if (bufptr == NULL)
+   if (ipc_bufptr == NULL)
       return;
 
+   ipc_bufptr[ipc_bufsiz] = '\0';
+
    if (c)
-      CommsSend(c, bufptr);
-   Efree(bufptr);
-   bufsiz = 0;
-   bufptr = NULL;
+      CommsSend(c, ipc_bufptr);
+
+   Efree(ipc_bufptr);
+   ipc_bufsiz = 0;
+   ipc_bufptr = NULL;
 }
 
 void
@@ -87,10 +80,10 @@
    len = Evsnprintf(tmp, sizeof(tmp), fmt, args);
    va_end(args);
 
-   bufptr = EREALLOC(char, bufptr, bufsiz + len + 1);
+   ipc_bufptr = EREALLOC(char, ipc_bufptr, ipc_bufsiz + len + 1);
 
-   strcpy(bufptr + bufsiz, tmp);
-   bufsiz += len;
+   memcpy(ipc_bufptr + ipc_bufsiz, tmp, len);
+   ipc_bufsiz += len;
 }
 
 static int
@@ -124,7 +117,7 @@
 /* The IPC functions */
 
 static void
-IPC_Screen(const char *params, Client * c __UNUSED__)
+IPC_Screen(const char *params)
 {
    char                param[1024];
    int                 l;
@@ -162,7 +155,7 @@
 }
 
 static void
-IPC_Nop(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_Nop(const char *params __UNUSED__)
 {
    IpcPrintf("nop");
 }
@@ -175,7 +168,7 @@
 }
 
 static void
-IPC_Border(const char *params, Client * c __UNUSED__)
+IPC_Border(const char *params)
 {
    if (!params)
      {
@@ -190,7 +183,7 @@
 }
 
 static void
-IPC_DialogOK(const char *params, Client * c __UNUSED__)
+IPC_DialogOK(const char *params)
 {
    if (params)
       DialogOKstr(_("Message"), params);
@@ -222,7 +215,7 @@
 };
 
 static void
-IPC_MoveResize(const char *params, Client * c __UNUSED__)
+IPC_MoveResize(const char *params)
 {
    char                param1[32];
    char                param2[32];
@@ -306,7 +299,7 @@
 }
 
 static void
-IPC_WinList(const char *params, Client * c __UNUSED__)
+IPC_WinList(const char *params)
 {
    static const char  *const TxtPG[] = { "NW", "NE", "SW", "SE" };
    char                format[8];
@@ -406,6 +399,17 @@
 #endif
 
 static void
+OpacityTimeout(int val, void *data __UNUSED__)
+{
+   EWin               *ewin;
+
+   ewin = EwinFindByClient(val);
+   if (ewin)
+      if (ewin->state.active)
+        EoChangeOpacity(ewin, ewin->props.focused_opacity);
+}
+
+static void
 IpcWinop(const WinOp * wop, EWin * ewin, const char *prm)
 {
    char                param1[128], param2[128];
@@ -810,7 +814,7 @@
 }
 
 static void
-IPC_WinOps(const char *params, Client * c __UNUSED__)
+IPC_WinOps(const char *params)
 {
    char                match[128];
    char                operation[128];
@@ -862,7 +866,7 @@
 }
 
 static void
-IPC_Remember(const char *params, Client * c __UNUSED__)
+IPC_Remember(const char *params)
 {
    int                 window, l;
    EWin               *ewin;
@@ -893,19 +897,19 @@
 }
 
 static void
-IPC_ForceSave(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_ForceSave(const char *params __UNUSED__)
 {
    autosave();
 }
 
 static void
-IPC_Restart(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_Restart(const char *params __UNUSED__)
 {
    SessionExit(EEXIT_RESTART, NULL);
 }
 
 static void
-IPC_Exit(const char *params, Client * c __UNUSED__)
+IPC_Exit(const char *params)
 {
    char                param1[1024];
    const char         *p2;
@@ -930,20 +934,20 @@
 }
 
 static void
-IPC_About(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_About(const char *params __UNUSED__)
 {
    About();
 }
 
 static void
-IPC_Version(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_Version(const char *params __UNUSED__)
 {
    IpcPrintf(_("Enlightenment Version : %s\n" "code is current to    : %s\n"),
             e_wm_version, e_wm_date);
 }
 
 static void
-IPC_Debug(const char *params, Client * c __UNUSED__)
+IPC_Debug(const char *params)
 {
    char                param[1024];
    int                 l;
@@ -1005,13 +1009,13 @@
 }
 
 static void
-IPC_Set(const char *params, Client * c __UNUSED__)
+IPC_Set(const char *params)
 {
    ConfigurationSet(params);
 }
 
 static void
-IPC_Show(const char *params, Client * c __UNUSED__)
+IPC_Show(const char *params)
 {
    ConfigurationShow(params);
 }
@@ -1106,7 +1110,7 @@
 }
 
 static void
-IPC_EwinInfo(const char *params, Client * c __UNUSED__)
+IPC_EwinInfo(const char *params)
 {
    char                match[FILEPATH_LEN_MAX];
    EWin              **lst;
@@ -1135,7 +1139,7 @@
 }
 
 static void
-IPC_ObjInfo(const char *params __UNUSED__, Client * c __UNUSED__)
+IPC_ObjInfo(const char *params __UNUSED__)
 {
    int                 i, num;
    EObj               *const *lst, *eo;
@@ -1163,7 +1167,7 @@
 }
 
 static void
-IPC_Reparent(const char *params, Client * c __UNUSED__)
+IPC_Reparent(const char *params)
 {
    char                param1[FILEPATH_LEN_MAX];
    char                param2[FILEPATH_LEN_MAX];
@@ -1183,7 +1187,7 @@
 }
 
 static void
-IPC_Warp(const char *params, Client * c __UNUSED__)
+IPC_Warp(const char *params)
 {
    int                 x, y;
 
@@ -1440,7 +1444,7 @@
  * open the source code.
  * --Mandrake
  */
-static void         IPC_Help(const char *params, Client * c);
+static void         IPC_Help(const char *params);
 
 static const IpcItem IPCArray[] = {
    {
@@ -1656,7 +1660,7 @@
        if (!(ipc->nick && !strcmp(cmd, ipc->nick)) && strcmp(cmd, ipc->name))
           continue;
 
-       ipc->func(prm, c);
+       ipc->func(prm);
 
        ok = 1;
        break;
@@ -1667,6 +1671,7 @@
 
    IpcPrintFlush(c);
    CommsFlush(c);
+
    return ok;
 }
 
@@ -1723,7 +1728,7 @@
 }
 
 static void
-IPC_Help(const char *params, Client * c __UNUSED__)
+IPC_Help(const char *params)
 {
    int                 i, num;
    const IpcItem     **lst, *ipc;
===================================================================
RCS file: /cvs/e/e16/e/src/magwin.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- magwin.c    19 Apr 2007 22:25:25 -0000      1.2
+++ magwin.c    18 May 2007 08:25:02 -0000      1.3
@@ -457,7 +457,7 @@
  */
 
 static void
-MagwinIpc(const char *params, Client * c __UNUSED__)
+MagwinIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/main.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -3 -r1.158 -r1.159
--- main.c      7 May 2007 23:09:43 -0000       1.158
+++ main.c      18 May 2007 08:25:02 -0000      1.159
@@ -22,6 +22,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 #include "E.h"
+#include "comms.h"
 #include "cursors.h"
 #include "desktops.h"
 #include "dialog.h"
===================================================================
RCS file: /cvs/e/e16/e/src/menus.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -3 -r1.273 -r1.274
--- menus.c     6 Apr 2007 21:44:22 -0000       1.273
+++ menus.c     18 May 2007 08:25:05 -0000      1.274
@@ -2058,7 +2058,7 @@
 };
 
 static void
-MenusIpc(const char *params, Client * c __UNUSED__)
+MenusIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/mod-misc.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- mod-misc.c  7 May 2007 23:26:13 -0000       1.53
+++ mod-misc.c  18 May 2007 08:25:05 -0000      1.54
@@ -190,7 +190,7 @@
 #define N_CFG_ITEMS ((int)(sizeof(MiscCfgItems)/sizeof(CfgItem)))
 
 static void
-MiscIpcExec(const char *params, Client * c __UNUSED__)
+MiscIpcExec(const char *params)
 {
    if (params)
       execApplication(params, EXEC_SET_LANG);
@@ -199,7 +199,7 @@
 }
 
 static void
-MiscIpcConfig(const char *params, Client * c __UNUSED__)
+MiscIpcConfig(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128];
===================================================================
RCS file: /cvs/e/e16/e/src/mod-trans.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- mod-trans.c 17 Jan 2007 01:10:43 -0000      1.24
+++ mod-trans.c 18 May 2007 08:25:05 -0000      1.25
@@ -287,7 +287,7 @@
 }
 
 static void
-TransparencyIpc(const char *params, Client * c __UNUSED__)
+TransparencyIpc(const char *params)
 {
    if (params && !strncmp(params, "cfg", 3))
      {
===================================================================
RCS file: /cvs/e/e16/e/src/pager.c,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -3 -r1.240 -r1.241
--- pager.c     6 May 2007 13:09:59 -0000       1.240
+++ pager.c     18 May 2007 08:25:05 -0000      1.241
@@ -2049,7 +2049,7 @@
 }
 
 static void
-IPC_Pager(const char *params, Client * c __UNUSED__)
+IPC_Pager(const char *params)
 {
    const char         *p = params;
    char                prm1[128];
===================================================================
RCS file: /cvs/e/e16/e/src/screen.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- screen.c    17 Jan 2007 01:10:43 -0000      1.24
+++ screen.c    18 May 2007 08:25:06 -0000      1.25
@@ -23,6 +23,7 @@
  */
 #include "E.h"
 #include "ewins.h"
+#include "ipc.h"
 #include "screen.h"
 #include "xwin.h"
 #ifdef HAVE_XINERAMA
===================================================================
RCS file: /cvs/e/e16/e/src/slideout.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- slideout.c  17 Jan 2007 01:10:43 -0000      1.58
+++ slideout.c  18 May 2007 08:25:06 -0000      1.59
@@ -501,7 +501,7 @@
 }
 
 static void
-IPC_Slideout(const char *params, Client * c __UNUSED__)
+IPC_Slideout(const char *params)
 {
    Slideout           *s;
 
===================================================================
RCS file: /cvs/e/e16/e/src/snaps.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -3 -r1.131 -r1.132
--- snaps.c     25 Feb 2007 19:03:19 -0000      1.131
+++ snaps.c     18 May 2007 08:25:06 -0000      1.132
@@ -29,6 +29,7 @@
 #include "ewins.h"
 #include "file.h"
 #include "groups.h"
+#include "ipc.h"
 #include "settings.h"
 #include "snaps.h"
 #include "timers.h"
@@ -1688,7 +1689,7 @@
 }
 
 void
-SnapIpcFunc(const char *params, Client * c __UNUSED__)
+SnapIpcFunc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/snaps.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- snaps.h     13 Jan 2007 19:14:28 -0000      1.8
+++ snaps.h     18 May 2007 08:25:06 -0000      1.9
@@ -63,6 +63,6 @@
 void                SnapshotEwinParse(EWin * ewin, const char *params);
 
 extern const char   SnapIpcText[];
-void                SnapIpcFunc(const char *params, Client * c);
+void                SnapIpcFunc(const char *params);
 
 #endif /* _SNAPS_H_ */
===================================================================
RCS file: /cvs/e/e16/e/src/sound.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- sound.c     17 Jan 2007 01:10:43 -0000      1.53
+++ sound.c     18 May 2007 08:25:06 -0000      1.54
@@ -456,7 +456,7 @@
  */
 
 static void
-SoundIpc(const char *params, Client * c __UNUSED__)
+SoundIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096];
===================================================================
RCS file: /cvs/e/e16/e/src/tclass.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- tclass.c    6 May 2007 13:37:37 -0000       1.54
+++ tclass.c    18 May 2007 08:25:06 -0000      1.55
@@ -492,7 +492,7 @@
 }
 
 static void
-TextclassIpc(const char *params, Client * c __UNUSED__)
+TextclassIpc(const char *params)
 {
    char                param1[1024];
    char                param2[1024];
===================================================================
RCS file: /cvs/e/e16/e/src/theme.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- theme.c     6 May 2007 13:44:54 -0000       1.63
+++ theme.c     18 May 2007 08:25:06 -0000      1.64
@@ -444,7 +444,7 @@
 }
 
 static void
-ThemesIpc(const char *params, Client * c __UNUSED__)
+ThemesIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[128];
===================================================================
RCS file: /cvs/e/e16/e/src/tooltips.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- tooltips.c  6 Apr 2007 22:20:07 -0000       1.114
+++ tooltips.c  18 May 2007 08:25:06 -0000      1.115
@@ -900,7 +900,7 @@
 };
 
 static void
-TooltipsIpc(const char *params, Client * c __UNUSED__)
+TooltipsIpc(const char *params)
 {
    if (params && !strncmp(params, "cfg", 3))
      {
===================================================================
RCS file: /cvs/e/e16/e/src/windowmatch.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- windowmatch.c       7 May 2007 22:46:01 -0000       1.61
+++ windowmatch.c       18 May 2007 08:25:06 -0000      1.62
@@ -952,7 +952,7 @@
 }
 
 static void
-WindowMatchIpc(const char *params, Client * c __UNUSED__)
+WindowMatchIpc(const char *params)
 {
    const char         *p;
    char                cmd[128], prm[4096], buf[4096];



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to