home *** CD-ROM | disk | FTP | other *** search
- *** a64l.c.orig Tue Mar 1 16:54:40 1994
- --- a64l.c Sat Mar 25 16:36:18 1995
- ***************
- *** 64,75 ****
- #include <compiler.h>
- #endif
-
- ! /* Local function prototypes */
- ! static int a64i __PROTO((char c)); /* base-64 char to int, -1 on error */
- !
- ! /* base-64 char to int, -1 on error */
- static int a64i(c)
- char c;
- {
- int retval = c;
-
- --- 64,75 ----
- #include <compiler.h>
- #endif
-
- ! #ifdef __STDC__
- ! static int a64i(char c)
- ! #else
- static int a64i(c)
- char c;
- + #endif
- {
- int retval = c;
-
- *** cfsetisp.c.orig Tue Mar 1 16:54:54 1994
- --- cfsetisp.c Sat Mar 25 16:36:20 1995
- ***************
- *** 6,15 ****
- --- 6,19 ----
- #include <types.h>
- #include <termios.h>
-
- + #ifdef __STDC__
- + int cfsetispeed(struct termios *stp, speed_t baudcode)
- + #else
- int
- cfsetispeed(stp, baudcode)
- struct termios *stp;
- speed_t baudcode;
- + #endif
- {
- stp->_c_ispeed = baudcode;
- return 0;
- *** cfsetosp.c.orig Tue Mar 1 16:54:54 1994
- --- cfsetosp.c Sat Mar 25 16:36:22 1995
- ***************
- *** 6,15 ****
- --- 6,19 ----
- #include <types.h>
- #include <termios.h>
-
- + #ifdef __STDC__
- + int cfsetospeed(struct termios *stp, speed_t baudcode)
- + #else
- int
- cfsetospeed(stp, baudcode)
- struct termios *stp;
- speed_t baudcode;
- + #endif
- {
- stp->_c_ospeed = baudcode;
- return 0;
- *** clock.c.orig Wed Sep 15 08:08:22 1993
- --- clock.c Sat Mar 25 16:36:22 1995
- ***************
- *** 18,24 ****
- static long
- getnow()
- {
- ! now = *((unsigned long *) 0x4baL);
- return 0;
- }
-
- --- 18,24 ----
- static long
- getnow()
- {
- ! now = *((clock_t *) 0x4baL);
- return 0;
- }
-
- *** crt0.cpp.orig Thu Oct 1 15:35:56 1992
- --- crt0.cpp Sat Mar 25 16:36:24 1995
- ***************
- *** 84,89 ****
- --- 84,92 ----
- __setstack:
- movel sp@+, a0 | save return address
- movel sp@, sp | new stack pointer
- + #ifdef __C68__
- + movel sp, __spbase | for c68 stack checking routines
- + #endif
- subql #4, sp | fixup for tidy upon return
- jmp a0@ | back to caller
-
- *** crtinit.c.orig Wed Oct 27 04:09:36 1993
- --- crtinit.c Sat Mar 25 16:36:26 1995
- ***************
- *** 122,127 ****
- --- 122,131 ----
- extern _StkSize; /* set by linker */
- #endif
-
- + #ifdef __C68__
- + void *_spbase; /* for c68's stack checking routines */
- + #endif
- +
- /* default sizeof stdio buffers */
- size_t __DEFAULT_BUFSIZ__; /* .comm */
-
- *** ctime.c.orig Tue Oct 12 03:18:52 1993
- --- ctime.c Sat Mar 25 16:36:28 1995
- ***************
- *** 35,46 ****
-
- #else
-
- ! static char * two_dig __PROTO((char *buf, unsigned short num));
- !
- static char *
- two_dig(buf, num)
- char *buf;
- unsigned short num;
- {
- unsigned int rem;
-
- --- 35,48 ----
-
- #else
-
- ! #ifdef _STDC__
- ! static char * two_dig(char *buf, unsigned short num);
- ! #else
- static char *
- two_dig(buf, num)
- char *buf;
- unsigned short num;
- + #endif
- {
- unsigned int rem;
-
- *** flonum.h.orig Sat Dec 12 12:25:36 1992
- --- flonum.h Sat Mar 25 16:36:30 1995
- ***************
- *** 18,24 ****
-
- /* quasi-IEEE floating point number definitions */
-
- ! #ifndef __TURBOC__
- struct bitfloat {
- unsigned long sign : 1;
- unsigned long exp : 8;
- --- 18,24 ----
-
- /* quasi-IEEE floating point number definitions */
-
- ! #if !defined(__TURBOC__) && !defined(__C68__)
- struct bitfloat {
- unsigned long sign : 1;
- unsigned long exp : 8;
- *** initgroups.c.orig Tue Mar 14 15:03:48 1995
- --- initgroups.c Sat Mar 25 16:36:32 1995
- ***************
- *** 5,14 ****
- --- 5,18 ----
- #include <errno.h>
- #include <mintbind.h>
-
- + #ifdef __STDC__
- + int initgroups (char *user, gid_t group)
- + #else
- int
- initgroups (user, group)
- char *user;
- gid_t group;
- + #endif
- {
- struct group *g;
- gid_t groups[NGROUPS_MAX];
- *** mkdir.c.orig Tue Mar 14 15:03:58 1995
- --- mkdir.c Sat Mar 25 16:36:32 1995
- ***************
- *** 15,23 ****
- --- 15,27 ----
- extern int errno;
- extern int __mint;
-
- + #ifdef __STDC__
- + int mkdir(const char *_path, mode_t mode)
- + #else
- int mkdir(_path, mode)
- const char *_path;
- mode_t mode;
- + #endif
- {
- struct stat statbuf;
- int rv;
- *** mkfifo.c.orig Tue Mar 14 15:03:58 1995
- --- mkfifo.c Sun Mar 26 20:53:08 1995
- ***************
- *** 6,16 ****
- --- 6,21 ----
- #include <types.h>
- #include <limits.h>
- #include <stat.h>
- + #include "lib.h"
-
- + #ifdef __STDC__
- + int mkfifo(const char *_path, mode_t mode)
- + #else
- int
- mkfifo(_path, mode)
- const char *_path;
- mode_t mode;
- + #endif
- {
- static unsigned long timelast;
- char path[PATH_MAX], linkf[30] = "u:\\pipe\\n$", *s, c;
- *** open.c.orig Tue Mar 14 15:04:02 1995
- --- open.c Sun Mar 26 20:49:50 1995
- ***************
- *** 10,15 ****
- --- 10,17 ----
- #include <errno.h>
- #include <unistd.h>
- #include <stdarg.h>
- + #include <string.h>
- + #include <stdlib.h>
- #include <stat.h>
- #include <device.h>
- #include "lib.h"
- *** strerror.c.orig Tue Mar 14 15:04:12 1995
- --- strerror.c Sat Mar 25 16:36:36 1995
- ***************
- *** 164,171 ****
- --- 164,173 ----
- strerror(errnum)
- int errnum;
- {
- + #ifndef __C68__ /* these are already declared; why redeclare them? */
- extern int sys_nerr;
- extern char *sys_errlist[];
- + #endif
-
- if (errnum >= 0 && errnum < sys_nerr)
- return(sys_errlist[errnum]);
- *** wcmb.c.orig Wed Nov 3 02:23:52 1993
- --- wcmb.c Sat Mar 25 16:36:38 1995
- ***************
- *** 67,76 ****
- --- 67,80 ----
- return maxlen - revcnt;
- }
-
- + #ifdef __STDC__
- + int wctomb(char *mbstr, wchar_t wchar)
- + #else
- int
- wctomb(mbstr, wchar)
- char *mbstr;
- wchar_t wchar;
- + #endif
- {
- /* Nope, still no statedependencies. */
- if(mbstr == NULL) return 0;
-