extern void clearLast();
extern void highlightLast();
extern void doPlace();
extern void doProps();
extern void doPropComment();
extern void buildTree0();
extern void buildTree();
extern void setPiece();
extern void updateBoard();
extern char *commentGet();	/* int */
extern int commentLines();
extern void formatComment();
extern int okChange();
extern int okExit();
extern nodep search();	/* return 0 on failure */
extern void step();
extern void stepDown();
extern void doScore();
extern nodep loadFile();
extern nodep makeTutor();
extern void doit();
extern void writeStrEscaped();
extern void writeNode();
extern void WriteSubTree();
extern int writeCoordList();
extern int writeTree();
extern int addMark();
extern void addStone();
extern int makeMove();
extern int passMove();
extern void addPlayer();
extern void makeVariation();
extern void cutTree();
extern boolean pasteTree();
extern void edComment();
extern void deleteNode();
extern void makeName();
extern void replaceComment();
extern main();
extern void die();
extern void myexit();
extern void openfile();
extern void barf();
extern void initEnv();
extern void init();
extern void helpCommandLine();
extern void parseLine();
extern void readInit();
extern void addChild();	/* add child c to node n */
extern nodep parse();
extern int legal();
extern boolean inRange();
extern boolean alive0();
extern boolean alive();	/* Does group at i,j have liberties? */
extern void removeStones();
extern boolean tryKill();
extern void placeStone();
extern void boardSet();
extern piece boardGet();
extern void boardClear();
extern void copyBoard();
extern void scoreBoard();
extern boolean getCoord();
extern coordList *addCoord();
extern void setCoord();
extern void clearCoord();
extern void initNodes();
extern nodep newNode();
extern void freeNode();
extern char *dupStr();
extern void freeProps();
extern void delNode();
extern void addprop();
extern property *getprop();
extern int treeCountSiblings();
extern nodep nthChild();	/* nodep, int */
extern nodep parent();
extern nodep child();
extern nodep lastSibling();
extern nodep nextSibling();
extern nodep treeLastSibling();
extern nodep treeDown();
extern nodep treeUp();
extern nodep treeNextUp();
extern nodep treeNext();
extern nodep lastChildOfLastSibling();
extern nodep treeLast();
