Changeset 1080 for trunk/xdotool/xdotool.c
- Timestamp:
- Jun 1, 2008 11:42:03 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/xdotool/xdotool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xdotool/xdotool.c
r1079 r1080 125 125 void cmd_help(int argc, char **args) { 126 126 int i; 127 128 /* touch to clean up warnings (we want the parameters to stick129 around because of the use of function pointers) */130 argc = 0;131 args = NULL;132 133 127 printf("Available commands:\n"); 134 128 for (i = 0; dispatch[i].name != NULL; i++) … … 173 167 174 168 void cmd_mousedown(int argc, char **args) { 175 uint button;169 int button; 176 170 char *cmd = *args; argc--; args++; 177 171 … … 190 184 191 185 void cmd_mouseup(int argc, char **args) { 192 uint button;186 int button; 193 187 char *cmd = *args; argc--; args++; 194 188 … … 237 231 return; 238 232 } 233 234 int (*func)(xdo_t *, char *) = NULL; 239 235 240 236 if (!strcmp(cmd, "key")) {
Note: See TracChangeset
for help on using the changeset viewer.

