summaryrefslogtreecommitdiffstats
path: root/runtime/tools
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-29 23:20:40 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-29 23:20:40 +0100
commitd99df423c559d85c17779b3685426c489554908c (patch)
tree13cc6e922816525fa597cc5b3db1c91d0be24fc2 /runtime/tools
parentbaaa7e9ec7398a813e21285c272fa99792642077 (diff)
patch 7.4.1200v7.4.1200
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Diffstat (limited to 'runtime/tools')
-rw-r--r--runtime/tools/xcmdsrv_client.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/runtime/tools/xcmdsrv_client.c b/runtime/tools/xcmdsrv_client.c
index a0e6211a1d..88e8380776 100644
--- a/runtime/tools/xcmdsrv_client.c
+++ b/runtime/tools/xcmdsrv_client.c
@@ -29,10 +29,8 @@
#include <X11/Intrinsic.h>
#include <X11/Xatom.h>
-#define __ARGS(x) x
-
/* Client API */
-char * sendToVim __ARGS((Display *dpy, char *name, char *cmd, int asKeys, int *code));
+char * sendToVim(Display *dpy, char *name, char *cmd, int asKeys, int *code);
#ifdef MAIN
/* A sample program */
@@ -70,15 +68,15 @@ main(int argc, char **argv)
* Forward declarations for procedures defined later in this file:
*/
-static int x_error_check __ARGS((Display *dpy, XErrorEvent *error_event));
-static int AppendPropCarefully __ARGS((Display *display,
- Window window, Atom property, char *value, int length));
-static Window LookupName __ARGS((Display *dpy, char *name,
- int delete, char **loose));
-static int SendInit __ARGS((Display *dpy));
-static char *SendEventProc __ARGS((Display *dpy, XEvent *eventPtr,
- int expect, int *code));
-static int IsSerialName __ARGS((char *name));
+static int x_error_check(Display *dpy, XErrorEvent *error_event);
+static int AppendPropCarefully(Display *display,
+ Window window, Atom property, char *value, int length);
+static Window LookupName(Display *dpy, char *name,
+ int delete, char **loose);
+static int SendInit(Display *dpy);
+static char *SendEventProc(Display *dpy, XEvent *eventPtr,
+ int expect, int *code);
+static int IsSerialName(char *name);
/* Private variables */
static Atom registryProperty = None;