home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Mint
/
mlib32d.zoo
/
diffh
< prev
next >
Wrap
Text File
|
1993-06-17
|
22KB
|
688 lines
diff -cr /src/mntinc31/PatchLev.h ./PatchLev.h
*** /src/mntinc31/PatchLev.h Thu May 27 04:37:58 1993
--- ./PatchLev.h Fri Jun 4 02:17:42 1993
***************
*** 3,6 ****
* directory.
*/
! #define _PatchLevel "31"
--- 3,6 ----
* directory.
*/
! #define _PatchLevel "32"
diff -cr /src/mntinc31/compiler.h ./compiler.h
*** /src/mntinc31/compiler.h Sun May 23 10:58:42 1993
--- ./compiler.h Sun Jun 6 06:19:50 1993
***************
*** 13,23 ****
#endif
/* symbols to identify the type of compiler */
#ifdef __SOZOBONC__
#define __SOZOBON__ __SOZOBONC__
#else
# ifdef SOZOBON
! # define __SOZOBON__ SOZOBON
# endif
#endif
--- 13,26 ----
#endif
/* symbols to identify the type of compiler */
+
#ifdef __SOZOBONC__
#define __SOZOBON__ __SOZOBONC__
#else
# ifdef SOZOBON
! /* The "real" Sozobon, as distinct from HSC. Don't want to assume any
! features about it, so set version number to 0. */
! # define __SOZOBON__ 0
# endif
#endif
***************
*** 91,114 ****
#ifdef __SOZOBON__
/*
! * Temporary hacks to overcome 1.33i's short symbol names. Hopefully future
! * versions will allow the extended Sozobon symbol format.
*/
! #define _mallocChunkSize _sc_mCS
! #define _malloczero _sc_mz
! #define _console_read_byte _sc_crb
! #define _console_write_byte _sc_cwb
- /* Doesn't know (void *) is special (but can handle it); this works better. */
#define __NULL (0L)
! #ifdef OLD_SOZOBON
! #define void char
#endif
#define __SIZE_TYPEDEF__ unsigned int
#define __PTRDIFF_TYPEDEF__ long
#define __WCHAR_TYPEDEF__ char
#define __EXITING void
! #define __MSHORT__
#endif /* __SOZOBON__ */
#ifdef __TURBOC__
--- 94,121 ----
#ifdef __SOZOBON__
/*
! * Temporary hacks to overcome 1.33i's short symbol names. As of 2.01i,
! * this restriction is removed, but can be reinstated for compatibility
! * via the -8 compiler flag. -- sb 5/26/93
*/
! #if __SOZOBON__ < 0x201 || !defined(__HSC_LONGNAMES__)
! # define _mallocChunkSize _sc_mCS
! # define _malloczero _sc_mz
! # define _console_read_byte _sc_crb
! # define _console_write_byte _sc_cwb
! #endif
#define __NULL (0L)
! #if __SOZOBON__ < 0x122 /* previous versions didn't grok (void *) */
! # define void char
#endif
#define __SIZE_TYPEDEF__ unsigned int
#define __PTRDIFF_TYPEDEF__ long
#define __WCHAR_TYPEDEF__ char
#define __EXITING void
! #if __SOZOBON__ < 0x201 /* 2.01 now #define's this */
! # define __MSHORT__
! #endif
#endif /* __SOZOBON__ */
#ifdef __TURBOC__
diff -cr /src/mntinc31/ctype.h ./ctype.h
*** /src/mntinc31/ctype.h Fri May 15 19:17:02 1992
--- ./ctype.h Tue Jun 15 15:02:56 1993
***************
*** 35,44 ****
#define isspace(c) (_ctype[(unsigned char)(c)]&_CTs)
#define isupper(c) (_ctype[(unsigned char)(c)]&_CTu)
#define isxdigit(c) (_ctype[(unsigned char)(c)]&_CTx)
- #define iswhite(c) isspace(c)
#define _toupper(c) ((c)^0x20)
#define _tolower(c) ((c)^0x20)
#define toascii(c) ((c)&0x7F)
#ifdef __GNUC__
--- 35,46 ----
#define isspace(c) (_ctype[(unsigned char)(c)]&_CTs)
#define isupper(c) (_ctype[(unsigned char)(c)]&_CTu)
#define isxdigit(c) (_ctype[(unsigned char)(c)]&_CTx)
#define _toupper(c) ((c)^0x20)
#define _tolower(c) ((c)^0x20)
+
+ #ifndef _POSIX_SOURCE
+ #define iswhite(c) isspace(c)
#define toascii(c) ((c)&0x7F)
#ifdef __GNUC__
***************
*** 79,84 ****
--- 81,87 ----
#define iscym(c) (isalnum(c) || ((c) == '_') )
#endif /* __GNUC__ */
+ #endif /* _POSIX_SOURCE */
__EXTERN int toupper __PROTO((int));
__EXTERN int tolower __PROTO((int));
diff -cr /src/mntinc31/errno.h ./errno.h
*** /src/mntinc31/errno.h Sun Feb 28 13:02:56 1993
--- ./errno.h Sun Jun 6 10:07:16 1993
***************
*** 76,87 ****
--- 76,91 ----
# define ENOTTY 87
# define ERANGE 88
# define EDOM 89
+ #define EIO 90 /* I/O error */
+ #define ENOSPC 91 /* disk full */
#define EINTR 128 /* this *should* be fake */
+ #ifndef AssemB
extern int errno;
extern int sys_nerr;
extern char * sys_errlist[];
+ #endif /* AssemB */
#ifdef __cplusplus
}
diff -cr /src/mntinc31/fcntl.h ./fcntl.h
*** /src/mntinc31/fcntl.h Sun Feb 28 13:03:02 1993
--- ./fcntl.h Thu Jun 10 06:32:22 1993
***************
*** 40,45 ****
--- 40,46 ----
#ifndef __MINT__
# define O_PIPE 0x2000 /* serial pipe */
#endif
+ #define O_NOCTTY 0x4000 /* do not open new controlling tty */
/*
* defines for the access() function
***************
*** 73,78 ****
--- 74,82 ----
short l_pid;
};
#endif /* __MINT__ */
+
+ /* Mask for close-on-exec bit in the flags retrieved/set by F_GETFD/F_SETFD */
+ #define FD_CLOEXEC 0x01
/* smallest valid gemdos handle */
/* note handle is only word (16 bit) negative, not long negative,
diff -cr /src/mntinc31/float.h ./float.h
*** /src/mntinc31/float.h Sat Sep 5 18:21:44 1992
--- ./float.h Thu Jun 10 03:26:08 1993
***************
*** 27,39 ****
/* Radix of exponent representation */
#define FLT_RADIX 2
! /* Number of base-FLT_RADIX digits in the mantissa of a float */
#define FLT_MANT_DIG 24
/* Number of decimal digits of precision in a float */
#define FLT_DIG 7
/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown */
#define FLT_ROUNDS 1
! /* Minimum float x such that 1.0+x != 1.0 */
#define FLT_EPSILON ((float)1.192092891e-07)
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
#define FLT_MIN_EXP (-63)
--- 27,39 ----
/* Radix of exponent representation */
#define FLT_RADIX 2
! /* Number of base-FLT_RADIX digits in the significand of a float */
#define FLT_MANT_DIG 24
/* Number of decimal digits of precision in a float */
#define FLT_DIG 7
/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown */
#define FLT_ROUNDS 1
! /* Difference between 1.0 and the minimum float greater than 1.0 */
#define FLT_EPSILON ((float)1.192092891e-07)
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
#define FLT_MIN_EXP (-63)
***************
*** 79,92 ****
/* Radix of exponent representation */
#define FLT_RADIX 2
! /* Number of base-FLT_RADIX digits in the mantissa of a float */
#define FLT_MANT_DIG 24
/* Number of decimal digits of precision in a float */
#define FLT_DIG 6
/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown */
#define FLT_ROUNDS 1
! /* Minimum float x such that 1.0+x != 1.0 */
! #define FLT_EPSILON 5.96046519e-08F
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
#define FLT_MIN_EXP (-125)
/* Minimum normalised float */
--- 79,92 ----
/* Radix of exponent representation */
#define FLT_RADIX 2
! /* Number of base-FLT_RADIX digits in the significant of a float */
#define FLT_MANT_DIG 24
/* Number of decimal digits of precision in a float */
#define FLT_DIG 6
/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown */
#define FLT_ROUNDS 1
! /* Difference between 1.0 and the minimum float greater than 1.0 */
! #define FLT_EPSILON 1.19209290e-07F
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
#define FLT_MIN_EXP (-125)
/* Minimum normalised float */
***************
*** 100,111 ****
/* Maximum int x such that 10**x is a representable float */
#define FLT_MAX_10_EXP 38
! /* Number of base-FLT_RADIX digits in the mantissa of a double */
#define DBL_MANT_DIG 53
/* Number of decimal digits of precision in a double */
#define DBL_DIG 15
! /* Minimum double x such that 1.0+x != 1.0 */
! #define DBL_EPSILON 1.1107651257113995e-16
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */
#define DBL_MIN_EXP (-1021)
/* Minimum normalised double */
--- 100,111 ----
/* Maximum int x such that 10**x is a representable float */
#define FLT_MAX_10_EXP 38
! /* Number of base-FLT_RADIX digits in the significand of a double */
#define DBL_MANT_DIG 53
/* Number of decimal digits of precision in a double */
#define DBL_DIG 15
! /* Difference between 1.0 and the minimum double greater than 1.0 */
! #define DBL_EPSILON 2.2204460492503131e-16
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */
#define DBL_MIN_EXP (-1021)
/* Minimum normalised double */
***************
*** 115,144 ****
/* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
#define DBL_MAX_EXP 1024
/* Maximum double */
! /*#define DBL_MAX 1.7976931348623157e+308*/
! #define DBL_MAX 1.7976931348623158e+308
/* Maximum int x such that 10**x is a representable double */
#define DBL_MAX_10_EXP 308
! /* Number of base-FLT_RADIX digits in the mantissa of a long double */
! #define LDBL_MANT_DIG 53
/* Number of decimal digits of precision in a long double */
! #define LDBL_DIG 15
! /* Minimum long double x such that 1.0+x != 1.0 */
! #define LDBL_EPSILON 1.1107651257113995e-16L
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */
! #define LDBL_MIN_EXP (-1021)
/* Minimum normalised long double */
! #define LDBL_MIN 2.2250738585072014e-308L
/* Minimum int x such that 10**x is a normalised long double */
! #define LDBL_MIN_10_EXP (-307)
/* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
! #define LDBL_MAX_EXP 1024
/* Maximum long double */
! /*#define LDBL_MAX 1.7976931348623157e+308L*/
! #define LDBL_MAX 1.7976931348623158e+308
/* Maximum int x such that 10**x is a representable long double */
! #define LDBL_MAX_10_EXP 308
#endif /* __SOZOBON__ */
--- 115,151 ----
/* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
#define DBL_MAX_EXP 1024
/* Maximum double */
! #define DBL_MAX 1.7976931348623157e+308
/* Maximum int x such that 10**x is a representable double */
#define DBL_MAX_10_EXP 308
! /* Number of base-FLT_RADIX digits in the significand of a long double */
! #undef LDBL_MANT_DIG
! #define LDBL_MANT_DIG 64
/* Number of decimal digits of precision in a long double */
! #undef LDBL_DIG
! #define LDBL_DIG 18
! /* Difference between 1.0 and the minimum long double greater than 1.0 */
! #undef LDBL_EPSILON
! #define LDBL_EPSILON 1.084202172485504434001e-19L
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */
! #undef LDBL_MIN_EXP
! #define LDBL_MIN_EXP (-16382)
/* Minimum normalised long double */
! #undef LDBL_MIN
! #define LDBL_MIN 1.68105157155604675313e-4932L
/* Minimum int x such that 10**x is a normalised long double */
! #undef LDBL_MIN_10_EXP
! #define LDBL_MIN_10_EXP (-4931)
/* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
! #undef LDBL_MAX_EXP
! #define LDBL_MAX_EXP 16384
/* Maximum long double */
! #undef LDBL_MAX
! #define LDBL_MAX 1.18973149535723176502e4932L
/* Maximum int x such that 10**x is a representable long double */
! #undef LDBL_MAX_10_EXP
! #define LDBL_MAX_10_EXP 4932
#endif /* __SOZOBON__ */
diff -cr /src/mntinc31/ioctl.h ./ioctl.h
*** /src/mntinc31/ioctl.h Mon May 17 11:32:58 1993
--- ./ioctl.h Mon Jun 7 11:34:24 1993
***************
*** 40,45 ****
--- 40,48 ----
#define TIOCGFLAGS (('T'<< 8) | 22)
#define TIOCSFLAGS (('T'<< 8) | 23)
+ /* faked by the library */
+ #define TIOCNOTTY (('T'<<8) | 251)
+
/* not yet implemented in MiNT */
#define TIOCGETD (('T'<<8) | 252)
#define TIOCSETD (('T'<<8) | 253)
diff -cr /src/mntinc31/osbind.h ./osbind.h
*** /src/mntinc31/osbind.h Tue May 25 12:16:34 1993
--- ./osbind.h Sun Jun 6 05:15:44 1993
***************
*** 855,861 ****
movw %2,sp@-; \
movw %1,sp@-; \
trap #1; \
! addw #16,sp " \
: "=r"(retvalue) /* outputs */ \
: "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs */ \
: "d0", "d1", "d2", "a0", "a1", "a2", "memory" \
--- 855,861 ----
movw %2,sp@-; \
movw %1,sp@-; \
trap #1; \
! addw #14,sp " \
: "=r"(retvalue) /* outputs */ \
: "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs */ \
: "d0", "d1", "d2", "a0", "a1", "a2", "memory" \
***************
*** 1688,1694 ****
movw %2,sp@-; \
movw %1,sp@-; \
trap #14; \
! addqw #6,sp " \
: "=r"(retvalue) /* outputs */ \
: "g"(n), "r"(_a), "r"(_b), "r"(_c) /* inputs */ \
: "d0", "d1", "d2", "a0", "a1", "a2" /* clobbered regs */ \
--- 1688,1694 ----
movw %2,sp@-; \
movw %1,sp@-; \
trap #14; \
! addw #10,sp " \
: "=r"(retvalue) /* outputs */ \
: "g"(n), "r"(_a), "r"(_b), "r"(_c) /* inputs */ \
: "d0", "d1", "d2", "a0", "a1", "a2" /* clobbered regs */ \
diff -cr /src/mntinc31/setjmp.h ./setjmp.h
*** /src/mntinc31/setjmp.h Fri Sep 11 01:59:34 1992
--- ./setjmp.h Thu Jun 10 08:23:24 1993
***************
*** 19,30 ****
#else /* __TURBOC__ */
! typedef char *jmp_buf[14];
#endif /* __TURBOC__ */
__EXTERN int setjmp __PROTO((jmp_buf));
__EXTERN void longjmp __PROTO((jmp_buf, int));
#ifndef __MINT__
# ifndef __cplusplus
--- 19,49 ----
#else /* __TURBOC__ */
! typedef char *jmp_buf[15]; /* retaddr, 12 regs, sigmask, savemask */
#endif /* __TURBOC__ */
+ #ifndef __STRICT_ANSI__
+
+ typedef jmp_buf sigjmp_buf;
+
+ __EXTERN int sigsetjmp __PROTO((sigjmp_buf env, int savemask));
+ __EXTERN int siglongjmp __PROTO((sigjmp_buf env, int val));
+
+ #ifdef _BSD_SOURCE
+ /* BUG: we lose if _BSD_SOURCE && __STRICT_ANSI__ */
+ #define _setjmp(_jb) (sigsetjmp((sigjmp_buf) _jb, 0))
+ #define _longjmp(_jb) (siglongjmp((sigjmp_buf) _jb))
+ #define setjmp(_jb) (sigsetjmp((sigjmp_buf) _jb, 1))
+ #define longjmp(_jb) (siglongjmp((sigjmp_buf) _jb))
+ #endif /* _BSD_SOURCE */
+
+ #endif /* __STRICT_ANSI__ */
+
+ #ifndef _BSD_SOURCE
__EXTERN int setjmp __PROTO((jmp_buf));
__EXTERN void longjmp __PROTO((jmp_buf, int));
+ #endif /* not _BSD_SOURCE */
#ifndef __MINT__
# ifndef __cplusplus
diff -cr /src/mntinc31/signal.h ./signal.h
*** /src/mntinc31/signal.h Sat Sep 5 18:33:26 1992
--- ./signal.h Mon Jun 7 08:56:40 1993
***************
*** 68,77 ****
#define SA_NOCLDSTOP 1 /* don't send SIGCHLD when they stop */
};
! __EXTERN long sigsetmask __PROTO((long mask));
! __EXTERN long sigblock __PROTO((long mask));
! __EXTERN int sigaction __PROTO((int, const struct sigaction *,
! struct sigaction *));
/* a mask for signals */
#define sigmask(sig) (1L << (sig))
# endif /* __STRICT_ANSI__ */
--- 68,100 ----
#define SA_NOCLDSTOP 1 /* don't send SIGCHLD when they stop */
};
! #define _SIGSET_INDEX(_sig) (_sig / 32)
! #define _SIGSET_BITPOS(_sig) (_sig % 32)
! #define _SIGSET_MAX_INDEX ((NSIG + 31) / 32)
!
! typedef struct {
! long _sigset_data[_SIGSET_MAX_INDEX];
! } sigset_t;
!
! __EXTERN long sigsetmask __PROTO((long mask));
! __EXTERN long sigblock __PROTO((long mask));
! __EXTERN int sigaction __PROTO((int, const struct sigaction *,
! struct sigaction *));
! __EXTERN int sigaddset __PROTO((sigset_t *set, int signo));
! __EXTERN int sigdelset __PROTO((sigset_t *set, int signo));
! __EXTERN int sigemptyset __PROTO((sigset_t *set));
! __EXTERN int sigfillset __PROTO((sigset_t *set));
! __EXTERN int sigismember __PROTO((sigset_t *set, int signo));
! __EXTERN int sigpending __PROTO((sigset_t *set));
! __EXTERN int sigprocmask __PROTO((int how, const sigset_t *set,
! sigset_t *oset));
! __EXTERN int sigsuspend __PROTO((const sigset_t *sigmask));
!
! /* values for "how" parameter to sigprocmask() */
! #define SIG_BLOCK 0
! #define SIG_UNBLOCK 1
! #define SIG_SETMASK 2
!
/* a mask for signals */
#define sigmask(sig) (1L << (sig))
# endif /* __STRICT_ANSI__ */
diff -cr /src/mntinc31/stat.h ./stat.h
*** /src/mntinc31/stat.h Fri May 15 21:23:00 1992
--- ./stat.h Tue Jun 8 10:21:24 1993
***************
*** 43,48 ****
--- 43,62 ----
#define S_IMEM 0140000
#define S_IFLNK 0160000
+ #define S_ISCHR(m) ((m & S_IFMT) == S_IFCHR)
+ #define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
+ #define S_ISBLK(m) ((m & S_IFMT) == S_IFBLK)
+ #define S_ISREG(m) ((m & S_IFMT) == S_IFREG)
+ #define S_ISFIFO(m) ((m & S_IFMT) == S_IFIFO)
+ #ifndef _POSIX_SOURCE
+ #define S_ISMEM(m) ((m & S_IFMT) == S_IMEM)
+ #define S_ISLNK(m) ((m & S_IFMT) == S_IFLNK)
+ #endif /* _POSIX_SOURCE */
+
+ #define S_IRWXU 0700
+ #define S_IRWXG 0070
+ #define S_IRWXO 0007
+
#define S_ISUID 04000
#define S_ISGID 02000
#define S_ISVTX 01000
diff -cr /src/mntinc31/stdio.h ./stdio.h
*** /src/mntinc31/stdio.h Sun Oct 18 16:33:26 1992
--- ./stdio.h Sun Jun 6 07:23:56 1993
***************
*** 78,83 ****
--- 78,84 ----
/* object of type capable of recording uniquely every position in a file */
typedef unsigned long fpos_t;
+ #define L_ctermid 128
#define L_tmpnam 128
#define TMP_MAX 100
***************
*** 96,101 ****
--- 97,104 ----
/* function definitions */
+
+ __EXTERN char * ctermid __PROTO((char *));
__EXTERN int remove __PROTO((const char *));
__EXTERN int rename __PROTO((const char *, const char *));
diff -cr /src/mntinc31/support.h ./support.h
*** /src/mntinc31/support.h Tue May 25 12:15:44 1993
--- ./support.h Thu Jun 17 04:42:58 1993
***************
*** 67,74 ****
__EXTERN void _mcleanup __PROTO((void));
__EXTERN int profil __PROTO((void *buff, unsigned long bufsiz, unsigned long offset, int shift));
! __EXTERN int link __PROTO((const char *old, const char *new));
! __EXTERN int symlink __PROTO((const char *old, const char *new));
__EXTERN int readlink __PROTO((char *filename, char *linkto, int siz));
__EXTERN long a64l __PROTO((const char *s));
--- 67,74 ----
__EXTERN void _mcleanup __PROTO((void));
__EXTERN int profil __PROTO((void *buff, unsigned long bufsiz, unsigned long offset, int shift));
! __EXTERN int link __PROTO((const char *oldname, const char *newname));
! __EXTERN int symlink __PROTO((const char *oldname, const char *newname));
__EXTERN int readlink __PROTO((char *filename, char *linkto, int siz));
__EXTERN long a64l __PROTO((const char *s));
***************
*** 75,80 ****
--- 75,82 ----
__EXTERN char *l64a __PROTO((long l));
__EXTERN long tfork __PROTO((int (*func)(long), long arg));
+
+ __EXTERN int _isctty __PROTO((int));
#ifdef __cplusplus
}
diff -cr /src/mntinc31/unistd.h ./unistd.h
*** /src/mntinc31/unistd.h Thu May 27 09:31:42 1993
--- ./unistd.h Thu Jun 10 05:35:08 1993
***************
*** 104,111 ****
__EXTERN _UID_T geteuid __PROTO((void));
__EXTERN _GID_T getgid __PROTO((void));
__EXTERN char * getlogin __PROTO((void));
- __EXTERN int getopt __PROTO((int, char * const *, const char *));
#ifndef _POSIX_SOURCE
__EXTERN int getpagesize __PROTO((void));
#endif
__EXTERN int getpid __PROTO((void));
--- 104,111 ----
__EXTERN _UID_T geteuid __PROTO((void));
__EXTERN _GID_T getgid __PROTO((void));
__EXTERN char * getlogin __PROTO((void));
#ifndef _POSIX_SOURCE
+ __EXTERN int getopt __PROTO((int, char * const *, const char *));
__EXTERN int getpagesize __PROTO((void));
#endif
__EXTERN int getpid __PROTO((void));
***************
*** 180,194 ****
__EXTERN int _bsd_setpgrp __PROTO((int, int));
#endif /* _POSIX_SOURCE */
! #if defined (_BSD_PGRP) && !defined(_POSIX_SOURCE)
#define getpgrp _bsd_getpgrp
#define setpgrp _bsd_setpgrp
! #else /* not _BSD_PGRP */
__EXTERN _PID_T getpgrp __PROTO((void));
#ifndef _POSIX_SOURCE
__EXTERN int setpgrp __PROTO((void));
#endif /* _POSIX_SOURCE */
! #endif /* not _BSD_PGRP */
__EXTERN int setpgid __PROTO((_PID_T, _PID_T));
__EXTERN int setsid __PROTO((void));
--- 180,194 ----
__EXTERN int _bsd_setpgrp __PROTO((int, int));
#endif /* _POSIX_SOURCE */
! #if defined (_BSD_SOURCE) && !defined(_POSIX_SOURCE)
#define getpgrp _bsd_getpgrp
#define setpgrp _bsd_setpgrp
! #else /* not _BSD_SOURCE */
__EXTERN _PID_T getpgrp __PROTO((void));
#ifndef _POSIX_SOURCE
__EXTERN int setpgrp __PROTO((void));
#endif /* _POSIX_SOURCE */
! #endif /* not _BSD_SOURCE */
__EXTERN int setpgid __PROTO((_PID_T, _PID_T));
__EXTERN int setsid __PROTO((void));
diff -cr /src/mntinc31/utime.h ./utime.h
*** /src/mntinc31/utime.h Sat Dec 12 14:20:04 1992
--- ./utime.h Thu Jun 10 05:05:18 1993
***************
*** 1,9 ****
#ifndef _U_TIME_H
#define _U_TIME_H
struct utimbuf { /* type for times() call */
time_t actime;
time_t modtime;
};
! #endif _U_TIME_H
--- 1,15 ----
#ifndef _U_TIME_H
#define _U_TIME_H
+ #ifndef _COMPILER_H
+ #include <compiler.h>
+ #endif
+
struct utimbuf { /* type for times() call */
time_t actime;
time_t modtime;
};
! __EXTERN int utime __PROTO((const char *path, const struct utimbuf *times));
!
! #endif /* _U_TIME_H */
diff -cr /src/mntinc31/vdibind.h ./vdibind.h
*** /src/mntinc31/vdibind.h Tue Feb 23 05:18:54 1993
--- ./vdibind.h Sun Jun 6 05:15:48 1993
***************
*** 332,339 ****
* Set FSM error mode.
* mode=1: (default) errors go to screen.
* mode=0: errors reported in error variable `errorvar'.
*/
! __EXTERN void vst_error __PROTO((int handle, int mode, int *errorvar));
/*
* v_gtext with optional shadow attribute
--- 332,341 ----
* Set FSM error mode.
* mode=1: (default) errors go to screen.
* mode=0: errors reported in error variable `errorvar'.
+ * NOTICE: the pointer for errorvar is a pointer to short
+ * (in 32 bit mode it would make a difference)
*/
! __EXTERN void vst_error __PROTO((int handle, int mode, short *errorvar));
/*
* v_gtext with optional shadow attribute