mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
13961: add ifdef for tputs in term.h in prototypes.h
This commit is contained in:
parent
621155b3ec
commit
25bcf86626
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2001-04-12 Clint Adams <schizo@debian.org>
|
||||||
|
|
||||||
|
* 13961: Src/prototypes.h: entertain the possibility that
|
||||||
|
tputs is defined in term.h.
|
||||||
|
|
||||||
2001-04-12 Oliver Kiddle <opk@zsh.org>
|
2001-04-12 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
* 13958: Completion/Zsh/Type/_directory_stack: a hopefully correct
|
* 13958: Completion/Zsh/Type/_directory_stack: a hopefully correct
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,9 @@ extern int tgetnum _((char *id));
|
||||||
extern int tgetflag _((char *id));
|
extern int tgetflag _((char *id));
|
||||||
extern char *tgetstr _((char *id, char **area));
|
extern char *tgetstr _((char *id, char **area));
|
||||||
extern char *tgoto _((char *cm, int destcol, int destline));
|
extern char *tgoto _((char *cm, int destcol, int destline));
|
||||||
|
# ifndef HAVE_TERM_H
|
||||||
extern int tputs _((char *cp, int affcnt, int (*outc) (int)));
|
extern int tputs _((char *cp, int affcnt, int (*outc) (int)));
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* MISSING PROTOTYPES FOR VARIOUS OPERATING SYSTEMS */
|
/* MISSING PROTOTYPES FOR VARIOUS OPERATING SYSTEMS */
|
||||||
|
|
@ -51,7 +53,7 @@ extern int tputs _((char *cp, int affcnt, int (*outc) (int)));
|
||||||
# define WRITE_ARG_2_T char *
|
# define WRITE_ARG_2_T char *
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__hpux) && defined(_HPUX_SOURCE)
|
#if defined(__hpux) && defined(_HPUX_SOURCE) && !defined(_XPG4_EXTENDED)
|
||||||
# define SELECT_ARG_2_T int *
|
# define SELECT_ARG_2_T int *
|
||||||
#else
|
#else
|
||||||
# define SELECT_ARG_2_T fd_set *
|
# define SELECT_ARG_2_T fd_set *
|
||||||
|
|
@ -66,7 +68,9 @@ char *mktemp _((char *));
|
||||||
# ifndef HAVE_IOCTL_PROTO
|
# ifndef HAVE_IOCTL_PROTO
|
||||||
int ioctl _((int d, unsigned long request, void *argp));
|
int ioctl _((int d, unsigned long request, void *argp));
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef HAVE_MKNOD_PROTO
|
||||||
int mknod _((const char *pathname, int mode, dev_t device));
|
int mknod _((const char *pathname, int mode, dev_t device));
|
||||||
|
# endif
|
||||||
int nice _((int increment));
|
int nice _((int increment));
|
||||||
int select _((int nfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, struct timeval *timeout));
|
int select _((int nfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, struct timeval *timeout));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue