K&R commands.h: conversion to ANSI
K&R obsolete syntax removal for C23 compatibility series
This commit is contained in:
parent
866699f353
commit
06b5870035
|
|
@ -50,27 +50,28 @@ extern TileTypeBitMask CmdYMAllButSpace;
|
||||||
|
|
||||||
/* --------------------- Global procedure headers --------------------- */
|
/* --------------------- Global procedure headers --------------------- */
|
||||||
|
|
||||||
extern MagWindow *CmdGetEditPoint();
|
extern MagWindow *CmdGetEditPoint(Point *point, Rect *rect);
|
||||||
extern MagWindow *CmdGetRootPoint();
|
extern MagWindow *CmdGetRootPoint(Point *point, Rect *rect);
|
||||||
extern bool CmdWarnWrite();
|
extern bool CmdWarnWrite(void);
|
||||||
extern bool CmdParseLayers();
|
extern bool CmdParseLayers(char *s, TileTypeBitMask *mask);
|
||||||
extern void CmdLabelProc();
|
extern void CmdLabelProc(char *text, int font, int size, int rotate, int offx, int offy,
|
||||||
extern void CmdSetWindCaption();
|
int pos, bool sticky, TileType type);
|
||||||
extern CellUse *CmdGetSelectedCell();
|
extern void CmdSetWindCaption(CellUse *newEditUse, CellDef *rootDef);
|
||||||
extern bool CmdIllegalChars();
|
extern CellUse *CmdGetSelectedCell(Transform *pTrans);
|
||||||
extern TileType CmdFindNetProc();
|
extern bool CmdIllegalChars(char *string, char *illegal, char *msg);
|
||||||
extern bool CmdCheckForPaintFunc();
|
extern TileType CmdFindNetProc(char *nodename, CellUse *use, Rect *rect, bool warn_not_found, bool *isvalid);
|
||||||
|
extern bool CmdCheckForPaintFunc(void);
|
||||||
|
|
||||||
/* C99 compat */
|
/* C99 compat */
|
||||||
extern int cmdScaleCoord();
|
extern int cmdScaleCoord(MagWindow *w, char *arg, bool is_relative, bool is_x, int scale);
|
||||||
extern void FlatCopyAllLabels();
|
extern void FlatCopyAllLabels(SearchContext *scx, TileTypeBitMask *mask, int xMask, CellUse *targetUse);
|
||||||
extern bool cmdDumpParseArgs();
|
extern bool cmdDumpParseArgs(char *cmdName, MagWindow *w, TxCommand *cmd, CellUse *dummy, SearchContext *scx);
|
||||||
extern void cmdFlushCell();
|
extern void cmdFlushCell(CellDef *def, bool force_deref);
|
||||||
extern int cmdParseCoord();
|
extern int cmdParseCoord(MagWindow *w, char *arg, bool is_relative, bool is_x);
|
||||||
extern void cmdSaveCell();
|
extern void cmdSaveCell(CellDef *cellDef, char *newName, bool noninteractive, bool tryRename);
|
||||||
extern void CmdInit();
|
extern void CmdInit(void);
|
||||||
|
|
||||||
extern void CmdDoProperty();
|
extern void CmdDoProperty(CellDef *def, TxCommand *cmd, int argstart);
|
||||||
extern void CmdPaintEraseButton();
|
extern void CmdPaintEraseButton(MagWindow *w, Point *refPoint, bool isPaint, bool isScreen);
|
||||||
|
|
||||||
#endif /* _COMMANDS_H */
|
#endif /* _COMMANDS_H */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue