]> Zhao Yanbai Git Server - minix.git/commit
mined: built without UNIX defined. 76/2976/1
authorThomas Cort <tcort@minix3.org>
Wed, 25 Mar 2015 18:32:43 +0000 (14:32 -0400)
committerLionel Sambuc <lionel@minix3.org>
Sat, 28 Mar 2015 07:38:33 +0000 (08:38 +0100)
commite978660932e3296e119f57620bc8c08d100c42fb
tree31e322979f781a48ebdfc1a7b7a69dea537880b8
parentfc850d580cb4a71848a512b47da1c54bc995858d
mined: built without UNIX defined.

* Remove undef NULL, EOF, getchar, putchar
* Rename putchar, getchar, _putchar, _getchar to putch, getch, _putch,
  _getch to avoid conflict with libc functions.
* Rename UP() to UP1() (for UP 1 line) to avoid conflict with UP
  definition in termcap.h. Rename DN1 LF1 RT1 for consistency.
* Add termcap.h for prototypes for tputs and friends.
* Add libterminfo references to Makefile
* Add return value to _putch() to make it work as tputs expects.
* Make putch() call _putch()
* Remove UNIX ifdefs and all code in the !UNIX branches.

closes #43

Change-Id: I0a6f7298aa8b12a74225badc88d3c236a02669ea
minix/commands/mined/Makefile
minix/commands/mined/mined.h
minix/commands/mined/mined1.c
minix/commands/mined/mined2.c