Index: command.c =================================================================== --- command.c (revision 4810) +++ command.c (revision 4811) @@ -76,7 +76,7 @@ %end-doc */ -static int CommandHelp(int argc, const char **argv, Coord x, Coord y) +static int CommandHelp(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { Message(PCB_MSG_DEFAULT, "following commands are supported:\n" " Command() execute an action command (too numerous to list)\n" @@ -110,7 +110,7 @@ %end-doc */ -static int CommandLoadLayout(int argc, const char **argv, Coord x, Coord y) +static int CommandLoadLayout(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { const char *filename, *format = NULL; @@ -146,7 +146,7 @@ %end-doc */ -static int CommandLoadElementToBuffer(int argc, const char **argv, Coord x, Coord y) +static int CommandLoadElementToBuffer(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { const char *filename; @@ -180,7 +180,7 @@ %end-doc */ -static int CommandLoadLayoutToBuffer(int argc, const char **argv, Coord x, Coord y) +static int CommandLoadLayoutToBuffer(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { const char *filename, *format = NULL; @@ -215,7 +215,7 @@ %end-doc */ -static int CommandQuit(int argc, const char **argv, Coord x, Coord y) +static int CommandQuit(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { if (!PCB->Changed || gui->close_confirm_dialog() == HID_CLOSE_CONFIRM_OK) QuitApplication(); @@ -235,7 +235,7 @@ %end-doc */ -static int CommandReallyQuit(int argc, const char **argv, Coord x, Coord y) +static int CommandReallyQuit(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { QuitApplication(); return 0; @@ -261,7 +261,7 @@ %end-doc */ -static int CommandLoadNetlist(int argc, const char **argv, Coord x, Coord y) +static int CommandLoadNetlist(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { const char *filename; @@ -311,7 +311,7 @@ %end-doc */ -static int CommandSaveLayout(int argc, const char **argv, Coord x, Coord y) +static int CommandSaveLayout(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { switch (argc) { case 0: @@ -355,7 +355,7 @@ %end-doc */ -static int CommandSaveLayoutAndQuit(int argc, const char **argv, Coord x, Coord y) +static int CommandSaveLayoutAndQuit(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { if (!CommandSaveLayout(argc, argv, x, y)) return CommandQuit(0, 0, 0, 0);