diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcurses/lib_kernel.c | 4 | ||||
-rw-r--r-- | lib/libtermlib/reset_prog_mode.c | 7 | ||||
-rw-r--r-- | lib/libtermlib/reset_shell_mode.c | 7 |
3 files changed, 11 insertions, 7 deletions
diff --git a/lib/libcurses/lib_kernel.c b/lib/libcurses/lib_kernel.c index 537adeb5c27..560440f0519 100644 --- a/lib/libcurses/lib_kernel.c +++ b/lib/libcurses/lib_kernel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lib_kernel.c,v 1.3 1997/12/03 05:21:22 millert Exp $ */ +/* $OpenBSD: lib_kernel.c,v 1.4 1997/12/09 01:23:04 millert Exp $ */ /*************************************************************************** @@ -53,7 +53,6 @@ int napms(int ms) returnCode(OK); } -#ifndef EXTERN_TERMINFO int reset_prog_mode(void) { T((T_CALLED("reset_prog_mode()"))); @@ -79,7 +78,6 @@ int reset_shell_mode(void) _nc_set_curterm(&cur_term->Ottyb); returnCode(OK); } -#endif /* EXTERN_TERMINFO */ /* * erasechar() diff --git a/lib/libtermlib/reset_prog_mode.c b/lib/libtermlib/reset_prog_mode.c index 4094b97166e..9154fe3488d 100644 --- a/lib/libtermlib/reset_prog_mode.c +++ b/lib/libtermlib/reset_prog_mode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: reset_prog_mode.c,v 1.1 1996/05/31 05:40:02 tholo Exp $ */ +/* $OpenBSD: reset_prog_mode.c,v 1.2 1997/12/09 01:23:02 millert Exp $ */ /* * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -31,13 +31,16 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: reset_prog_mode.c,v 1.1 1996/05/31 05:40:02 tholo Exp $"; +static char rcsid[] = "$OpenBSD: reset_prog_mode.c,v 1.2 1997/12/09 01:23:02 millert Exp $"; #endif #include <unistd.h> #include <sys/ioctl.h> #include "term.h" +int reset_prog_mode __P((void)) + __attribute__((weak)); + /* * Reset program mode as previously saved with def_prog_mode() */ diff --git a/lib/libtermlib/reset_shell_mode.c b/lib/libtermlib/reset_shell_mode.c index a903464792e..10f19633425 100644 --- a/lib/libtermlib/reset_shell_mode.c +++ b/lib/libtermlib/reset_shell_mode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: reset_shell_mode.c,v 1.1 1996/05/31 05:40:02 tholo Exp $ */ +/* $OpenBSD: reset_shell_mode.c,v 1.2 1997/12/09 01:23:03 millert Exp $ */ /* * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -31,13 +31,16 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: reset_shell_mode.c,v 1.1 1996/05/31 05:40:02 tholo Exp $"; +static char rcsid[] = "$OpenBSD: reset_shell_mode.c,v 1.2 1997/12/09 01:23:03 millert Exp $"; #endif #include <unistd.h> #include <sys/ioctl.h> #include "term.h" +int reset_shell_mode __P((void)) + __attribute__((weak)); + /* * Reset shell mode as previously saved with def_shell_mode() */ |