remove ultrix support
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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); }
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user