From 98999bd79c358206a9ff32f208f42cc521c42169 Mon Sep 17 00:00:00 2001 From: mycroft Date: Wed, 17 Nov 1993 20:38:22 +0000 Subject: [PATCH] Clean up deleted files. --- gnu/lib/libg++/g++-include/ctype.h | 12 --- gnu/lib/libg++/g++-include/curses.h | 91 ----------------------- gnu/lib/libg++/g++-include/dir.h | 3 - gnu/lib/libg++/g++-include/dirent.h | 46 ------------ gnu/lib/libg++/g++-include/errno.h | 26 ------- gnu/lib/libg++/g++-include/sys/dir.h | 44 ----------- gnu/lib/libg++/g++-include/sys/fcntl.h | 17 ----- gnu/lib/libg++/g++-include/sys/file.h | 30 -------- gnu/lib/libg++/g++-include/sys/mman.h | 16 ---- gnu/lib/libg++/g++-include/sys/param.h | 24 ------ gnu/lib/libg++/g++-include/sys/resource.h | 31 -------- gnu/lib/libg++/g++-include/sys/select.h | 10 --- 12 files changed, 350 deletions(-) delete mode 100644 gnu/lib/libg++/g++-include/ctype.h delete mode 100644 gnu/lib/libg++/g++-include/curses.h delete mode 100644 gnu/lib/libg++/g++-include/dir.h delete mode 100644 gnu/lib/libg++/g++-include/dirent.h delete mode 100644 gnu/lib/libg++/g++-include/errno.h delete mode 100644 gnu/lib/libg++/g++-include/sys/dir.h delete mode 100644 gnu/lib/libg++/g++-include/sys/fcntl.h delete mode 100644 gnu/lib/libg++/g++-include/sys/file.h delete mode 100644 gnu/lib/libg++/g++-include/sys/mman.h delete mode 100644 gnu/lib/libg++/g++-include/sys/param.h delete mode 100644 gnu/lib/libg++/g++-include/sys/resource.h delete mode 100644 gnu/lib/libg++/g++-include/sys/select.h diff --git a/gnu/lib/libg++/g++-include/ctype.h b/gnu/lib/libg++/g++-include/ctype.h deleted file mode 100644 index a2e555229047..000000000000 --- a/gnu/lib/libg++/g++-include/ctype.h +++ /dev/null @@ -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 -#ifndef toupper -extern int toupper _G_ARGS((int)); -#endif -#ifndef tolower -extern int tolower _G_ARGS((int)); -#endif -} diff --git a/gnu/lib/libg++/g++-include/curses.h b/gnu/lib/libg++/g++-include/curses.h deleted file mode 100644 index c5875c9ff939..000000000000 --- a/gnu/lib/libg++/g++-include/curses.h +++ /dev/null @@ -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 -#else -#define __curses_h_recursive - -extern "C" { -#include_next - -/* 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 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 */ diff --git a/gnu/lib/libg++/g++-include/dir.h b/gnu/lib/libg++/g++-include/dir.h deleted file mode 100644 index 802958d52d62..000000000000 --- a/gnu/lib/libg++/g++-include/dir.h +++ /dev/null @@ -1,3 +0,0 @@ -// $Id: dir.h,v 1.2 1993/08/02 17:22:04 mycroft Exp $ - -#include diff --git a/gnu/lib/libg++/g++-include/dirent.h b/gnu/lib/libg++/g++-include/dirent.h deleted file mode 100644 index cbd9a8e0c6cf..000000000000 --- a/gnu/lib/libg++/g++-include/dirent.h +++ /dev/null @@ -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 -#else - -extern "C" { - -#ifdef __dirent_h_recursive -#include_next -#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 - -#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 diff --git a/gnu/lib/libg++/g++-include/errno.h b/gnu/lib/libg++/g++-include/errno.h deleted file mode 100644 index bb8d4c53cf23..000000000000 --- a/gnu/lib/libg++/g++-include/errno.h +++ /dev/null @@ -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 -#else -#define __errno_h_recursive -#include_next - -#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 diff --git a/gnu/lib/libg++/g++-include/sys/dir.h b/gnu/lib/libg++/g++-include/sys/dir.h deleted file mode 100644 index 83d80802d314..000000000000 --- a/gnu/lib/libg++/g++-include/sys/dir.h +++ /dev/null @@ -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 -#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 - -#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 diff --git a/gnu/lib/libg++/g++-include/sys/fcntl.h b/gnu/lib/libg++/g++-include/sys/fcntl.h deleted file mode 100644 index 7c9cd91f0e17..000000000000 --- a/gnu/lib/libg++/g++-include/sys/fcntl.h +++ /dev/null @@ -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 -#else -#define __sys_fcntl_h_recursive -#include_next -#define __libgxx_sys_fcntl_h 1 -#endif -} - - -#endif diff --git a/gnu/lib/libg++/g++-include/sys/file.h b/gnu/lib/libg++/g++-include/sys/file.h deleted file mode 100644 index 8ed6444e814b..000000000000 --- a/gnu/lib/libg++/g++-include/sys/file.h +++ /dev/null @@ -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 -#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 -#endif - -#undef fcntl -#undef open -#undef creat - -#define __libgxx_sys_file_h 1 - -#endif -} -#endif diff --git a/gnu/lib/libg++/g++-include/sys/mman.h b/gnu/lib/libg++/g++-include/sys/mman.h deleted file mode 100644 index 3c99969bd62a..000000000000 --- a/gnu/lib/libg++/g++-include/sys/mman.h +++ /dev/null @@ -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 -#else -#define __sys_mman_h_recursive -#include_next - -#define __libgxx_sys_mman_h 1 -#endif -} - -#endif diff --git a/gnu/lib/libg++/g++-include/sys/param.h b/gnu/lib/libg++/g++-include/sys/param.h deleted file mode 100644 index 0eb88abda4ce..000000000000 --- a/gnu/lib/libg++/g++-include/sys/param.h +++ /dev/null @@ -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 -#else -#define __sys_param_h_recursive - -#ifdef VMS -#include "GNU_CC_INCLUDE:[sys]param.h" -#else -#include_next -#endif - -#undef setbit /* Conflicts with Integer::setbit(). */ - -#define __libgxx_sys_param_h 1 -#endif -} - -#endif diff --git a/gnu/lib/libg++/g++-include/sys/resource.h b/gnu/lib/libg++/g++-include/sys/resource.h deleted file mode 100644 index 1984416116b5..000000000000 --- a/gnu/lib/libg++/g++-include/sys/resource.h +++ /dev/null @@ -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 -#else -#include <_G_config.h> -#define __sys_resource_h_recursive -#include - -#ifdef VMS -#include "GNU_CC_INCLUDE:[sys]resource.h" -#else -#include_next -#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 diff --git a/gnu/lib/libg++/g++-include/sys/select.h b/gnu/lib/libg++/g++-include/sys/select.h deleted file mode 100644 index 9fa0598b3ce7..000000000000 --- a/gnu/lib/libg++/g++-include/sys/select.h +++ /dev/null @@ -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 -#define __libgxx_sys_select_h 1 -} -#endif