|
29 | 29 | #include <X11/Intrinsic.h> |
30 | 30 | #include <X11/Xatom.h> |
31 | 31 |
|
32 | | -#define __ARGS(x) x |
33 | | - |
34 | 32 | /* Client API */ |
35 | | -char * sendToVim __ARGS((Display *dpy, char *name, char *cmd, int asKeys, int *code)); |
| 33 | +char * sendToVim(Display *dpy, char *name, char *cmd, int asKeys, int *code); |
36 | 34 |
|
37 | 35 | #ifdef MAIN |
38 | 36 | /* A sample program */ |
@@ -70,15 +68,15 @@ main(int argc, char **argv) |
70 | 68 | * Forward declarations for procedures defined later in this file: |
71 | 69 | */ |
72 | 70 |
|
73 | | -static int x_error_check __ARGS((Display *dpy, XErrorEvent *error_event)); |
74 | | -static int AppendPropCarefully __ARGS((Display *display, |
75 | | - Window window, Atom property, char *value, int length)); |
76 | | -static Window LookupName __ARGS((Display *dpy, char *name, |
77 | | - int delete, char **loose)); |
78 | | -static int SendInit __ARGS((Display *dpy)); |
79 | | -static char *SendEventProc __ARGS((Display *dpy, XEvent *eventPtr, |
80 | | - int expect, int *code)); |
81 | | -static int IsSerialName __ARGS((char *name)); |
| 71 | +static int x_error_check(Display *dpy, XErrorEvent *error_event); |
| 72 | +static int AppendPropCarefully(Display *display, |
| 73 | + Window window, Atom property, char *value, int length); |
| 74 | +static Window LookupName(Display *dpy, char *name, |
| 75 | + int delete, char **loose); |
| 76 | +static int SendInit(Display *dpy); |
| 77 | +static char *SendEventProc(Display *dpy, XEvent *eventPtr, |
| 78 | + int expect, int *code); |
| 79 | +static int IsSerialName(char *name); |
82 | 80 |
|
83 | 81 | /* Private variables */ |
84 | 82 | static Atom registryProperty = None; |
|
0 commit comments