Clean up deleted files.
This commit is contained in:
parent
1fffdc0cb5
commit
98999bd79c
@ -1,12 +0,0 @@
|
||||
// $Id: ctype.h,v 1.2 1993/08/02 17:22:03 mycroft Exp $
|
||||
|
||||
#include <_G_config.h>
|
||||
extern "C" {
|
||||
#include_next <ctype.h>
|
||||
#ifndef toupper
|
||||
extern int toupper _G_ARGS((int));
|
||||
#endif
|
||||
#ifndef tolower
|
||||
extern int tolower _G_ARGS((int));
|
||||
#endif
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
// $Id: curses.h,v 1.4 1993/08/15 16:18:41 mycroft Exp $
|
||||
|
||||
#ifndef _G_curses_h
|
||||
|
||||
#include <_G_config.h>
|
||||
|
||||
#if _G_HAVE_CURSES
|
||||
|
||||
#ifdef __curses_h_recursive
|
||||
#include_next <curses.h>
|
||||
#else
|
||||
#define __curses_h_recursive
|
||||
|
||||
extern "C" {
|
||||
#include_next <curses.h>
|
||||
|
||||
/* Some systems (SVR4 for example) allow the definition of CHTYPE to set the
|
||||
type of some arguments to the curses functions. It can be set to "char"
|
||||
to save space, or it can be set to something longer to store both a
|
||||
character and some attributes. By default they do not define CHTYPE,
|
||||
and when CHTYPE is not defined, the default type is "unsigned long" instead
|
||||
of the traditional "char". However, SVR4 <curses.h> does define
|
||||
_VR3_COMPAT_CODE, so we can use that to detect when we should use the SVR4
|
||||
default if CHTYPE is not defined. For other systems, just default to the
|
||||
traditional default "char". */
|
||||
|
||||
#ifdef CHTYPE
|
||||
typedef CHTYPE _G_chtype; /* Use specified type. */
|
||||
#else
|
||||
#ifdef _VR3_COMPAT_CODE
|
||||
typedef unsigned long _G_chtype; /* SVR4 default is "unsigned long" */
|
||||
#elif defined(hpux)
|
||||
typedef unsigned int _G_chtype;
|
||||
#elif defined(__NetBSD__)
|
||||
typedef int _G_chtype;
|
||||
#else
|
||||
typedef char _G_chtype; /* Traditional default is "char" */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Some args are conceptually const, but SVR4 (and others?) get it wrong. */
|
||||
#define _C_const /* const */
|
||||
|
||||
WINDOW * (newwin)(int, int, int, int);
|
||||
WINDOW * (subwin)(WINDOW *, int, int, int, int);
|
||||
WINDOW * (initscr)();
|
||||
int (box) (WINDOW*, _G_chtype, _G_chtype);
|
||||
int (delwin)(WINDOW*);
|
||||
int (getcurx)(WINDOW*);
|
||||
int (getcury)(WINDOW*);
|
||||
int (mvcur)(int, int, int, int);
|
||||
int (overlay)(WINDOW*, WINDOW*);
|
||||
int (overwrite)(WINDOW*, WINDOW*);
|
||||
int (scroll)(WINDOW*);
|
||||
int (touchwin)(WINDOW*);
|
||||
int (waddch)(WINDOW*, _G_chtype);
|
||||
int (waddstr) _G_ARGS((WINDOW*, const char*));
|
||||
int (wclear)(WINDOW*);
|
||||
int (wclrtobot)(WINDOW*);
|
||||
int (wclrtoeol)(WINDOW*);
|
||||
int (wdelch)(WINDOW*);
|
||||
int (wdeleteln)(WINDOW*);
|
||||
int (werase)(WINDOW*);
|
||||
int (wgetch)(WINDOW*);
|
||||
int (wgetstr)(WINDOW*, char*);
|
||||
int (winsch)(WINDOW*, _G_chtype);
|
||||
int (winsertln)(WINDOW*);
|
||||
int (wmove)(WINDOW*, int, int);
|
||||
int (wrefresh)(WINDOW*);
|
||||
#ifdef __NetBSD__
|
||||
char * (wstandend)(WINDOW*);
|
||||
char * (wstandout)(WINDOW*);
|
||||
#else
|
||||
int (wstandend)(WINDOW*);
|
||||
int (wstandout)(WINDOW*);
|
||||
#endif
|
||||
|
||||
// SVR4 rather inanely bundles the format-string parameter with the '...'.
|
||||
// This breaks VMS, and I don't want to penalize VMS for being right for once!
|
||||
|
||||
int (wprintw)(WINDOW*, _G_CURSES_FORMAT_ARG ...);
|
||||
int (mvwprintw)(WINDOW*, int y, int x, _G_CURSES_FORMAT_ARG ...);
|
||||
int (wscanw)(WINDOW*, _G_CURSES_FORMAT_ARG ...);
|
||||
int (mvwscanw)(WINDOW*, int, int, _G_CURSES_FORMAT_ARG ...);
|
||||
int (endwin)();
|
||||
|
||||
}
|
||||
#define _G_curses_h
|
||||
#endif
|
||||
#endif /* _G_HAVE_CURSES */
|
||||
#endif /* _G_curses_h */
|
@ -1,3 +0,0 @@
|
||||
// $Id: dir.h,v 1.2 1993/08/02 17:22:04 mycroft Exp $
|
||||
|
||||
#include <sys/dir.h>
|
@ -1,46 +0,0 @@
|
||||
// $Id: dirent.h,v 1.2 1993/08/02 17:22:05 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_dirent_h
|
||||
|
||||
#include <_G_config.h>
|
||||
|
||||
#if !_G_HAVE_DIRENT
|
||||
#define __libgxx_dirent_h
|
||||
#define direct dirent
|
||||
#include <sys/dir.h>
|
||||
#else
|
||||
|
||||
extern "C" {
|
||||
|
||||
#ifdef __dirent_h_recursive
|
||||
#include_next <dirent.h>
|
||||
#else
|
||||
// Note: sys/dir.h checks __dirent_h_recursive
|
||||
#define __dirent_h_recursive
|
||||
#define opendir __hide_opendir
|
||||
#define closedir __hide_closedir
|
||||
#define readdir __hide_readdir
|
||||
#define telldir __hide_telldir
|
||||
#define seekdir __hide_seekdir
|
||||
|
||||
#include_next <dirent.h>
|
||||
|
||||
#define __libgxx_dirent_h
|
||||
#undef opendir
|
||||
#undef closedir
|
||||
#undef readdir
|
||||
#undef telldir
|
||||
#undef seekdir
|
||||
|
||||
DIR *opendir(const char *);
|
||||
int closedir(DIR *);
|
||||
struct dirent *readdir(DIR *);
|
||||
long telldir(DIR *);
|
||||
void seekdir(DIR *, long);
|
||||
// We don't bother with rewinddir (many systems define it as a macro).
|
||||
// void rewinddir(DIR *);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
@ -1,26 +0,0 @@
|
||||
// $Id: errno.h,v 1.2 1993/08/02 17:22:06 mycroft Exp $
|
||||
|
||||
#ifndef errno_h
|
||||
|
||||
extern "C" {
|
||||
|
||||
#ifdef __errno_h_recursive
|
||||
#include_next <errno.h>
|
||||
#else
|
||||
#define __errno_h_recursive
|
||||
#include_next <errno.h>
|
||||
|
||||
#define errno_h 1
|
||||
|
||||
extern char* sys_errlist[];
|
||||
extern int sys_nerr;
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
#endif
|
||||
void perror(const char*);
|
||||
char* strerr(int);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
@ -1,44 +0,0 @@
|
||||
// $Id: dir.h,v 1.2 1993/08/02 17:21:34 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_sys_dir_h
|
||||
|
||||
extern "C" {
|
||||
|
||||
#ifdef __sys_dir_h_recursive
|
||||
#include_next <sys/dir.h>
|
||||
#else
|
||||
#define __sys_dir_h_recursive
|
||||
#define opendir __hide_opendir
|
||||
#define closedir __hide_closedir
|
||||
#define readdir __hide_readdir
|
||||
#define telldir __hide_telldir
|
||||
#define seekdir __hide_seekdir
|
||||
|
||||
#include_next <sys/dir.h>
|
||||
|
||||
#define __libgxx_sys_dir_h
|
||||
#undef opendir
|
||||
#undef closedir
|
||||
#undef readdir
|
||||
#undef telldir
|
||||
#undef seekdir
|
||||
|
||||
DIR *opendir(const char *);
|
||||
int closedir(DIR *);
|
||||
#ifdef __dirent_h_recursive
|
||||
// Some operating systems we won't mention (such as the imitation
|
||||
// of Unix marketed by IBM) implement dirent.h by including sys/dir.h,
|
||||
// in which case sys/dir.h defines struct dirent, rather than
|
||||
// the struct direct originally used by BSD.
|
||||
struct dirent *readdir(DIR *);
|
||||
#else
|
||||
struct direct *readdir(DIR *);
|
||||
#endif
|
||||
long telldir(DIR *);
|
||||
void seekdir(DIR *, long);
|
||||
// We don't bother with rewinddir (many systems define it as a macro).
|
||||
// void rewinddir(DIR *);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
@ -1,17 +0,0 @@
|
||||
// $Id: fcntl.h,v 1.2 1993/08/02 17:21:36 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_sys_fcntl_h
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#ifdef __sys_fcntl_h_recursive
|
||||
#include_next <sys/fcntl.h>
|
||||
#else
|
||||
#define __sys_fcntl_h_recursive
|
||||
#include_next <sys/fcntl.h>
|
||||
#define __libgxx_sys_fcntl_h 1
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
#endif
|
@ -1,30 +0,0 @@
|
||||
// $Id: file.h,v 1.2 1993/08/02 17:21:37 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_sys_file_h
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#ifdef __sys_file_h_recursive
|
||||
#include_next <sys/file.h>
|
||||
#else
|
||||
#define fcntl __hide_fcntl
|
||||
#define open __hide_open
|
||||
#define creat __hide_creat
|
||||
|
||||
#define __sys_file_h_recursive
|
||||
|
||||
#ifdef VMS
|
||||
#include "GNU_CC_INCLUDE:[sys]file.h"
|
||||
#else
|
||||
#include_next <sys/file.h>
|
||||
#endif
|
||||
|
||||
#undef fcntl
|
||||
#undef open
|
||||
#undef creat
|
||||
|
||||
#define __libgxx_sys_file_h 1
|
||||
|
||||
#endif
|
||||
}
|
||||
#endif
|
@ -1,16 +0,0 @@
|
||||
// $Id: mman.h,v 1.2 1993/08/02 17:21:38 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_sys_mman_h
|
||||
|
||||
extern "C" {
|
||||
#ifdef __sys_mman_h_recursive
|
||||
#include_next <sys/mman.h>
|
||||
#else
|
||||
#define __sys_mman_h_recursive
|
||||
#include_next <sys/mman.h>
|
||||
|
||||
#define __libgxx_sys_mman_h 1
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
@ -1,24 +0,0 @@
|
||||
// $Id: param.h,v 1.2 1993/08/02 17:21:41 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_sys_param_h
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#ifdef __sys_param_h_recursive
|
||||
#include_next <sys/param.h>
|
||||
#else
|
||||
#define __sys_param_h_recursive
|
||||
|
||||
#ifdef VMS
|
||||
#include "GNU_CC_INCLUDE:[sys]param.h"
|
||||
#else
|
||||
#include_next <sys/param.h>
|
||||
#endif
|
||||
|
||||
#undef setbit /* Conflicts with Integer::setbit(). */
|
||||
|
||||
#define __libgxx_sys_param_h 1
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
@ -1,31 +0,0 @@
|
||||
// $Id: resource.h,v 1.2 1993/08/02 17:21:42 mycroft Exp $
|
||||
|
||||
#ifndef __libgxx_sys_resource_h
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#ifdef __sys_resource_h_recursive
|
||||
#include_next <sys/resource.h>
|
||||
#else
|
||||
#include <_G_config.h>
|
||||
#define __sys_resource_h_recursive
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifdef VMS
|
||||
#include "GNU_CC_INCLUDE:[sys]resource.h"
|
||||
#else
|
||||
#include_next <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#define __libgxx_sys_resource_h 1
|
||||
|
||||
int getrusage(int, struct rusage*);
|
||||
int getrlimit (int resource, struct rlimit *rlp);
|
||||
int setrlimit _G_ARGS((int resource, const struct rlimit *rlp));
|
||||
long ulimit(int, long);
|
||||
int getpriority(int, int);
|
||||
int setpriority(int, int, int);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
@ -1,10 +0,0 @@
|
||||
// $Id: select.h,v 1.2 1993/08/02 17:21:43 mycroft Exp $
|
||||
|
||||
/* Needed by Interviews for AIX. */
|
||||
#ifndef __libgxx_sys_select_h
|
||||
extern "C"
|
||||
{
|
||||
#include_next <sys/select.h>
|
||||
#define __libgxx_sys_select_h 1
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user