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