From bb70624e964126b7ac4ff085ba163a9c35ffa18f Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Fri, 17 Mar 2000 21:46:59 +0000 Subject: Imported from ../bash-2.04.tar.gz. --- lib/termcap/tparam.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'lib/termcap/tparam.c') diff --git a/lib/termcap/tparam.c b/lib/termcap/tparam.c index 2470289..1c83f04 100644 --- a/lib/termcap/tparam.c +++ b/lib/termcap/tparam.c @@ -12,12 +12,21 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +along with this program; see the file COPYING. If not, write to the +Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ /* Emacs config.h may rename various library functions such as malloc. */ #ifdef HAVE_CONFIG_H #include + +#ifdef HAVE_STDLIB_H +# include +#else +extern char *getenv (); +extern char *malloc (); +extern char *realloc (); +#endif + #else /* not HAVE_CONFIG_H */ #if defined(HAVE_STRING_H) || defined(STDC_HEADERS) @@ -34,6 +43,8 @@ char *realloc (); #endif /* not HAVE_CONFIG_H */ +#include "ltcap.h" + #ifndef NULL #define NULL (char *) 0 #endif @@ -101,11 +112,12 @@ tparam (string, outstring, len, arg0, arg1, arg2, arg3) return tparam1 (string, outstring, len, NULL, NULL, arg); } -char *BC; -char *UP; +__private_extern__ char *BC; +__private_extern__ char *UP; static char tgoto_buf[50]; +__private_extern__ char * tgoto (cm, hpos, vpos) char *cm; -- cgit v1.2.3