Nick Briggs
eb4337fdc2
Restore signal handler setup.
2017-05-28 19:38:08 -07:00
Nick Briggs
a6f00921ca
condition and increment reversed in for-loop.
2017-05-28 19:35:13 -07:00
Nick Briggs
349b2566da
Fix UDP send case to handle errors correctly whether BYTESWAP is defined or not (like TCP send)
2017-05-28 19:29:59 -07:00
Nick Briggs
156c3292f8
Reformat all C source files with Clang-format in Google style w/ 100 col width.
2017-05-28 18:08:18 -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
65ddb5a968
Add force flag to cleanup rm command, not everything may be present when we clean up.
2017-05-28 15:06:28 -07:00
Nick Briggs
cb285809a1
Add -Wall to default compiler options on FreeBSD.
2017-05-28 15:05:51 -07:00
Nick Briggs
0272578b69
Ignore *.core files
2017-05-28 14:53:02 -07:00
Nick Briggs
ce2fa3a119
Cleanup warnings for missing/wrong include files
2017-05-25 15:48:08 -07:00
Nick Briggs
e859670886
correct signal handler type for MacOS and FreeBSD int_timer_service.
2017-05-25 13:10:43 -07:00
Nick Briggs
a8fe2094fe
FreeBSD now uses dirent.h rather than sys/dir.h
2017-05-25 13:09:39 -07:00
Nick Briggs
02569edbe0
First cleanup to get to compiling (warnings, no errors) FreeBSD
2017-05-25 12:51:47 -07:00
Nick Briggs
be2101ac49
FreeBSD has just plain <termios.h>
2017-05-24 21:00:10 -07:00
Nick Briggs
4e6bbcbc1d
Use C-style comments only.
2017-05-24 19:19:34 -07:00
Nick Briggs
60374cf5cb
Ignore FreeBSD build directories
2017-05-24 19:16:06 -07:00
Nick Briggs
e311f51fdb
FreeBSD behaves similarly to MacOS for tcgetattr/tcsetattr
2017-05-24 19:15:12 -07:00
Nick Briggs
15d00637fd
Correct return type of lcfuncall to LispPTR. Remove call to DOSTACKOVERFLOW which can't be called in function that is not void return type.
2017-05-24 18:09:21 -07:00
Nick Briggs
8adfe96bd2
Add check for defined(WAITINT) to control whether wait status is int * for cases where SYSVONLY isn't appropriate
2017-05-24 18:02:35 -07:00
Nick Briggs
0557f1a4cd
Reformat with clang-format to improve readability.
...
Add forward declaration for ccfuncall changing to void type.
Change bitbltsub return type to void to be consistent with usage.
Change bltchar return type to void to be consistent with usage.
Change newbltchar return type to void to be consistent with usage. XXX: alternative version not updated yet.
Change tedit_bltchar return type to void to be consistent with usage.
2017-05-24 17:48:23 -07:00
Nick Briggs
254193baab
Add missing void declaration.
2017-05-24 17:32:41 -07:00
Nick Briggs
08227e1ea2
Add missing void declaration.
2017-05-24 17:31:13 -07:00
Nick Briggs
05c508f879
Add missing void declaration. Remove extraneous return() values in void functions.
2017-05-24 17:30:39 -07:00
Nick Briggs
5856367d22
Add missing void declaration.
2017-05-24 17:29:50 -07:00
Nick Briggs
d5ece9ccd5
Add missing void declaration.
2017-05-24 17:29:28 -07:00
Nick Briggs
32ebf5c823
Rearrange code to avoid forward references. Add missing void declarations. Add missing parentheses around macro parameter uses.
2017-05-24 17:29:03 -07:00
Nick Briggs
e5dbbe0f12
Add missing void declaration.
2017-05-24 17:26:12 -07:00
Nick Briggs
b636b2ad45
Rearrange code to avoid forward references. Add missing void declarations.
2017-05-24 17:25:43 -07:00
Nick Briggs
1cc7617978
Add missing return type.
2017-05-24 17:24:11 -07:00
Nick Briggs
569d1187d6
Rearrange code to avoid forward references. Add missing void declarations. Add parentheses to suppress warning for use of assignment in if-condition.
2017-05-24 17:23:34 -07:00
Nick Briggs
ba246fa721
Add parens to suppress warning about use of assignment in if-condition
2017-05-24 17:22:03 -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
5412639397
Initial version of makefile middle for FreeBSD on 386 with X windows.
2017-05-24 17:18:58 -07:00
Nick Briggs
7ef083b39b
Remove unnecessary AIX define from MacOS version define.
2017-05-24 17:18:05 -07:00
Nick Briggs
115a7d9756
Add missing void declarations.
2017-05-24 15:40:44 -07:00
Nick Briggs
5595f8e4b0
Add missing void declarations. Rearrange code to avoid forward references
2017-05-24 15:40:30 -07:00
Nick Briggs
27dc6eb849
Add missing void declarations. Rearrange code to avoid forward references
2017-05-24 15:40:03 -07:00
Nick Briggs
28887f01c8
Add missing argument in trim_finfo_highest() call.
2017-05-24 15:38:02 -07:00
Nick Briggs
e716766e30
Include stdlib.h for malloc. Don't try to use valloc() on MacOS
2017-05-24 15:37:03 -07:00
Nick Briggs
0d856f3bdc
Add missing void declarations. Ensure no attempt to return value from void functions. Rearrange code to avoid forward references
2017-05-24 15:35:37 -07:00
Nick Briggs
3b9d0c19ba
Add missing void declarations. Ensure no attempt to return value from void functions.
2017-05-24 15:34:13 -07:00
Nick Briggs
5665ed91d7
MacOS does not need sys/vfs.h included.
2017-05-24 15:33:11 -07:00
Nick Briggs
3a2fbd1412
MacOS does not need sys/vfs.h included.
2017-05-24 15:32:53 -07:00
Nick Briggs
8d8ec278f4
Don't try to declare malloc(), include stdlib.h
2017-05-24 15:32:12 -07:00
Nick Briggs
063659e840
Add missing void declarations. Reorganize code to avoid forward references. MacOS does not need sys/vfs.h included.
2017-05-24 15:31:15 -07:00
Nick Briggs
52f025bb43
Don't use Streams S_INPUT ioctl on MacOS
2017-05-24 15:29:44 -07:00
Nick Briggs
552bb8e1dc
Add missing void types. Rearrange code to avoid forward references. Fix incorrect XEvent type passed to Set_BitGravity()
2017-05-24 15:24:20 -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
5193937cac
Fix stray entry in documentation
2017-05-23 23:28:33 -07:00
Nick Briggs
59090b4a3c
Add FreeBSD to the recognized set of OSs
2017-05-23 15:40:42 -07:00