1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-16 16:19:10 +00:00

25 Commits

Author SHA1 Message Date
Nick Briggs
2f0aa254aa Create dsk.h to declare functions defined in dsk.c
Update files that depend on dsk functions to include dsk.h
Declare as static all functions in dsk.c that are not needed externally.
Add dependencies to makefile.

	modified:   makefile-tail
	new file:   ../inc/dsk.h
	modified:   ../src/dir.c
	modified:   ../src/dsk.c
	modified:   ../src/subr.c
	modified:   ../src/ufs.c
	modified:   ../src/vmemsave.c
2017-06-30 11:53:55 -07:00
Nick Briggs
0371f19167 Create conspage.h to declare functions defined in conspage.c
Update files that depend on conspage functions to include conspage.h
Declare as static all functions in conspage.c that are not needed externally.
Add dependencies to makefile.

	modified:   bin/makefile-darwin.386-x
	modified:   bin/makefile-tail
	new file:   inc/conspage.h
	modified:   src/conspage.c
	modified:   src/mvs.c
	modified:   src/rplcons.c
	modified:   src/xc.c
	modified:   src/z2.c
2017-06-29 22:33:35 -07:00
Nick Briggs
d450521ffd Reformat cell.h 2017-06-29 22:31:11 -07:00
Nick Briggs
cfd0711a73 Create car-cdr.h to declare functions defined in car-cdr.c
Update files that depend on car-cdr functions to include car-cdr.h.
    Add dependencies to makefile.

	modified:   makefile-darwin.386-x
	modified:   makefile-init.386
	modified:   makefile-tail
	new file:   ../inc/car-cdr.h
	modified:   ../src/bbtsub.c
	modified:   ../src/car-cdr.c
	modified:   ../src/dsk.c
	modified:   ../src/gcarray.c
	modified:   ../src/gcrcell.c
	modified:   ../src/kprint.c
	modified:   ../src/loopsops.c
	modified:   ../src/lsthandl.c
	modified:   ../src/mvs.c
	modified:   ../src/storage.c
	modified:   ../src/sxhash.c
	modified:   ../src/vars3.c
	modified:   ../src/xc.c
	modified:   ../src/z2.c
2017-06-29 22:24:33 -07:00
Nick Briggs
7c9b9d22c6 Create uraid.h to declare functions defined in uraid.c.
Update files that depend on these uraid functions to include uraid.h.
Add dependencies to makefile.

	modified:   bin/makefile-tail
	new file:   inc/uraid.h
	modified:   src/common.c
	modified:   src/truecolor.c
	modified:   src/unwind.c
	modified:   src/uraid.c
	modified:   src/uutils.c
2017-06-29 18:31:47 -07:00
Nick Briggs
0445e61fde Add prototypes for flush_display_region...() to display.h
Correct declared argument types in flush_display_region...() to match usage.

	modified:   inc/display.h
	modified:   src/initdsp.c
2017-06-26 21:33:03 -07:00
Nick Briggs
f319f2edd4 MacOS and FreeBSD (at least on x86) support unaligned fetch.
Clean up (re)definition of getrusage/getpagesize/getwd for POSIX systems"

	modified:   inc/version.h
2017-06-26 21:27:37 -07:00
Nick Briggs
1d818f1ec9 Don't declare getenv explicitly in inc/lispemul.h 2017-06-26 21:24:37 -07:00
Nick Briggs
cef5b57a9d Correct spelling of ...visible (was ...vissible) in all source files.
modified:   ../inc/bitblt.h
	modified:   ../inc/devif.h
	modified:   ../src/bitblt.c
	modified:   ../src/dosmouse.c
	modified:   ../src/dspif.c
	modified:   ../src/initdsp.c
	modified:   ../src/keyevent.c
	modified:   ../src/vesafns.asm
	modified:   ../src/vesainit.c
	modified:   ../src/vgainit.c
	modified:   ../src/vmemsave.c
	modified:   ../src/xbbt.c
	modified:   ../src/xc.c
	modified:   ../src/xc.c.orig
	modified:   ../src/xinit.c
	modified:   ../src/xlspwin.c
	modified:   ../src/xscroll.c
	modified:   ../src/xwinman.c
2017-06-22 23:32:22 -07:00
Nick Briggs
ef3fbc29fc Add extern declaration for "flushing", a flag to enable/disable calls to fflush(stdout)
after each call to printf() in the debug/tracing code.  Too frequent calls slow things down.

	modified:   inc/dbprint.h
	modified:   src/main.c
2017-06-14 17:53:13 -07:00
Nick Briggs
8d42e7791f Merge branch 'freebsd' 2017-06-08 11:23:40 -07:00
Nick Briggs
04b0b3ee0b Add new include file xscroll.h defining the Scroll functions implemented in xscroll.c
and used in xwinman.c
Update function declarations from K&R style to new style.
Fix incorrect argument counts for some procedure calls.

	new file:   ../inc/xscroll.h
	modified:   xscroll.c
	modified:   xwinman.c
2017-06-07 23:53:03 -07:00
Nick Briggs
6595e9f7b1 Add braces to suppress dangling else warning.
modified:   inc/tosfns.h
2017-06-07 20:39:27 -07:00
Nick Briggs
b6c93b9039 Reformat XKeymap.h 2017-06-06 16:25:12 -07:00
Nick Briggs
fac5b4d4b0 References to 'isfinite()' require #include <math.h> 2017-05-28 21:42:38 -07:00
Nick Briggs
fe2014d064 Prefer non-deprecated isfinite() over finite() for FP result check. 2017-05-28 19:47:30 -07:00
Nick Briggs
691645d048 Fix missing return types on functions, convert some functions with always ignored results to void. 2017-05-28 15:08:42 -07:00
Nick Briggs
72c8cd14af MacOS and FreeBSD have similar configurations, define WAITINT because status uses int status now. 2017-05-24 17:20:23 -07:00
Nick Briggs
2bf281cefb Clean up \#ifdefs. Add entry for FPTEST/FPCLEAR for MacOS and FreeBSD 2017-05-24 15:22:05 -07:00
Nick Briggs
e0195ec664 Rearrange code to avoid forward references. Fix missing void types. PAGE_SIZE collides with system definitions on some systems, rename it. 2017-05-24 15:20:42 -07:00
Nick Briggs
944083e433 MacOS(darwin) has seteuid() and getrusage()/getpagesize()/getwd() so don't #define them 2017-05-22 15:55:10 -07:00
Nick Briggs
3841aadba3 Parenthesize constant expression defines to avoid later operator precedence warnings/errors. 2017-05-22 15:15:08 -07:00
Nick Briggs
6782d343cc Fix warning for comment inside comment 2017-05-20 15:23:28 -07:00
Nick Briggs
5a702e808a Patches that made it possible to compile on MacOS X as of Nov 13, 2011. 2015-04-20 21:14:32 -07:00
Nick Briggs
de170a64d9 Maiko sources matching state as of 020102 prior to initial patching for Mac OSX 2015-04-20 18:53:52 -07:00