diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-29 06:50:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-29 06:50:24 +0000 |
commit | 6d593e1931c9590613f7b83551be26585545e496 (patch) | |
tree | a22a827f3c3cce7c3c03e1a632e79173d326e312 /lib/libocurses/curses.h | |
parent | 5088359990d1a2115627a75174eeaf8b0ee62c9d (diff) |
Move definitions of bool, TRUE, and FALSE out from behind a comment
stating that they are only for backward compatibility--they are not.
Diffstat (limited to 'lib/libocurses/curses.h')
-rw-r--r-- | lib/libocurses/curses.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libocurses/curses.h b/lib/libocurses/curses.h index 999282316db..3b80a82a691 100644 --- a/lib/libocurses/curses.h +++ b/lib/libocurses/curses.h @@ -41,13 +41,6 @@ #include <stdio.h> -/* - * The following #defines and #includes are present for backward - * compatibility only. They should not be used in future code. - * - * START BACKWARD COMPATIBILITY ONLY. - */ -#ifndef _CURSES_PRIVATE #define bool char #ifndef TRUE @@ -57,6 +50,13 @@ #define FALSE (0) #endif +/* + * The following #defines and #includes are present for backward + * compatibility only. They should not be used in future code. + * + * START BACKWARD COMPATIBILITY ONLY. + */ +#ifndef _CURSES_PRIVATE #define _puts(s) tputs(s, 0, __cputchar) #define _putchar(c) __cputchar(c) |