remove ultrix support

This commit is contained in:
chase
2018-09-30 12:28:53 -05:00
committed by Jon Trulson
parent d8c017caa2
commit 90a2b2848a
56 changed files with 41 additions and 570 deletions

View File

@@ -35,10 +35,7 @@
#include <stddef.h>
#include <stdio.h>
#include <errno.h>
#if defined(ultrix)
#include <sys/types.h>
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#include "prop.h"
#include "ttdbck.h"

View File

@@ -37,10 +37,7 @@
#include <stdio.h>
#include <errno.h>
#if defined(ultrix)
#include <sys/types.h>
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#include "spec.h"
#include "options_tt.h"
#include "util/tt_gettext.h"

View File

@@ -35,13 +35,10 @@
#include <stddef.h>
#include <stdio.h>
#include <errno.h>
#if defined(ultrix)
#include <sys/types.h>
#endif
#if defined(_AIX)
#include <time.h>
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#include "spec.h"
#include "options_tt.h"
#include "ttdbck.h"

View File

@@ -44,10 +44,6 @@
#endif
#include <stdlib.h>
#include <errno.h>
#if defined(ultrix)
#include <sys/inode.h>
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
#endif
#include <sys/stat.h>
#include <sys/wait.h>
#include "api/c/tt_c.h"

View File

@@ -44,10 +44,6 @@
#endif
#include <stdlib.h>
#include <errno.h>
#if defined(ultrix)
#include <sys/inode.h>
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
#endif
#include <sys/stat.h>
#include <sys/wait.h>
#include "api/c/tt_c.h"

View File

@@ -60,10 +60,6 @@
#define _TT_DBCLIENT_SIDE
#include "db/db_server.h"
#if defined(ultrix)
extern "C" void xdrstdio_create(XDR *, FILE *, enum xdr_op);
#endif
typedef void (*cmd_fn)();
TT_INSERT_COPYRIGHT

View File

@@ -77,25 +77,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <isam.h>
#if defined(ultrix)
# include <sys/time.h>
# include <sys/mount.h>
# include <sys/fs_types.h>
# define KERNEL
# include </usr/sys/h/fs_types.h>
# undef KERNEL
# define MNTTAB "/etc/fstab"
const char *TYPE_NFS = "nfs";
const char *TYPE_LOCAL = "ufs";
extern "C"
{
int getmnt(int *,struct fs_data*, int, int, char*);
time_t time();
}
#else
# include <time.h>
#endif
#include <time.h>
extern "C" { int isaddindex(int, struct keydesc*); }
extern "C" { int isbuild(const char*, int, struct keydesc*, int); }

View File

@@ -38,10 +38,6 @@
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
#if defined(ultrix)
#include <sys/inode.h>
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
#endif
#include <dirent.h>
#include "tttar_utils.h"
#include "tttar_file_utils.h"