Merged revisions 13707 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13707 | tilghman | 2006-03-20 23:27:33 -0600 (Mon, 20 Mar 2006) | 2 lines

Do away with some warnings and fix some indentation

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Tilghman Lesher 19 years ago
parent b4ee40d7b8
commit 3e6c1cab59

@ -64,10 +64,16 @@ __RCSID("$NetBSD: term.c,v 1.35 2002/03/18 16:00:59 christos Exp $");
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#endif
/* Solaris's term.h does horrid things. */
#if (defined(HAVE_TERM_H) && !defined(SUNOS))
#include <term.h>
#endif
#if defined(HAVE_TERM_H)
#include "term.h"
/* Can not use /usr/include/term.h because of a lot of incompatibilities, so just define some prototypes */
extern int tgetent(char *, const char *);
extern int tgetflag(const char *);
extern int tgetnum(const char *);
extern char *tgetstr(const char *, char **);
extern int tputs (const char *, int, int (*)(int));
extern char *tgoto (const char *, int, int);
#endif /* defined(HAVE_TERM_H) */
#include <sys/types.h>
#include <sys/ioctl.h>

Loading…
Cancel
Save