sys.h (256281) | sys.h (268782) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)sys.h 8.1 (Berkeley) 6/4/93 | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)sys.h 8.1 (Berkeley) 6/4/93 |
33 * $NetBSD: sys.h,v 1.9 2004/01/17 17:57:40 christos Exp $ 34 * $FreeBSD: stable/10/lib/libedit/sys.h 148924 2005-08-10 13:41:31Z stefanf $ | 33 * $NetBSD: sys.h,v 1.12 2009/08/31 00:05:43 christos Exp $ 34 * $FreeBSD: stable/10/lib/libedit/sys.h 268782 2014-07-17 02:14:25Z pfg $ |
35 */ 36 37/* 38 * sys.h: Put all the stupid compiler and system dependencies here... 39 */ 40#ifndef _h_sys 41#define _h_sys 42 --- 22 unchanged lines hidden (view full) --- 65typedef void *ioctl_t; 66#endif 67 68#include <stdio.h> 69 70#define REGEX /* Use POSIX.2 regular expression functions */ 71#undef REGEXP /* Use UNIX V8 regular expression functions */ 72 | 35 */ 36 37/* 38 * sys.h: Put all the stupid compiler and system dependencies here... 39 */ 40#ifndef _h_sys 41#define _h_sys 42 --- 22 unchanged lines hidden (view full) --- 65typedef void *ioctl_t; 66#endif 67 68#include <stdio.h> 69 70#define REGEX /* Use POSIX.2 regular expression functions */ 71#undef REGEXP /* Use UNIX V8 regular expression functions */ 72 |
73#if defined(__sun) 74extern int tgetent(char *, const char *); 75extern int tgetflag(char *); 76extern int tgetnum(char *); 77extern int tputs(const char *, int, int (*)(int)); 78extern char* tgoto(const char*, int, int); 79extern char* tgetstr(char*, char**); 80#endif 81 |
|
73#ifdef notdef 74# undef REGEX 75# undef REGEXP 76# include <malloc.h> 77# ifdef __GNUC__ 78/* 79 * Broken hdrs. 80 */ --- 29 unchanged lines hidden --- | 82#ifdef notdef 83# undef REGEX 84# undef REGEXP 85# include <malloc.h> 86# ifdef __GNUC__ 87/* 88 * Broken hdrs. 89 */ --- 29 unchanged lines hidden --- |