Nick Briggs
0dc8820060
Add "l" qualifiers to printf format strings for long types.
...
modified: dspif.c
2017-06-07 17:51:48 -07:00
Nick Briggs
de2ae84bfc
Explicitly cast cursor bitmap to char * to match XCreatePixmapFromBitmapData
...
modified: xcursor.c
2017-06-07 17:42:50 -07:00
Nick Briggs
118a3e7750
Correct signedness of window parameters used in XParseGeometry.
...
Signed x, y, Unsigned width, height.
modified: xinit.c
modified: xlspwin.c
modified: xrdopt.c
2017-06-07 17:19:02 -07:00
Nick Briggs
1dadac1888
Clean up types (long unsigned int => unsigned long).
...
Add "l" qualifiers to printf format strings for long types.
Rewrite input string handling in keymaker.c to get rid of unsafe gets().
2017-06-07 16:58:45 -07:00
Nick Briggs
ac563a69f3
Replace 0x%x with %p for pointer output in error messages. %p arrived in C89.
2017-06-07 14:33:31 -07:00
Nick Briggs
4eaf562a8a
Add parentheses to correct interpretation of word-alignment check due to operator precedence confusion.
2017-06-07 14:21:10 -07:00
Nick Briggs
cea2223dae
Convert to modern parameter declaration style.
2017-06-07 12:08:23 -07:00
Nick Briggs
24d210f8d3
Initialize various X structures to 0 as not all fields are explicitly set. Remove PPosition from size hints as we don't set position.
2017-06-07 12:07:23 -07:00
Nick Briggs
b647f69497
Add missing include stdio.h, only required if DEBUG or TRACE is defined, but doesn't hurt.
2017-06-07 12:03:28 -07:00
Nick Briggs
b033302d2a
Remove duplicate #defines for items that are in display.h
2017-06-07 12:00:08 -07:00
Nick Briggs
9f01c92438
Fix erroneous assignment instead of comparison in if-expression.
2017-05-29 12:13:35 -07:00
Nick Briggs
9911a80bef
Fix warning for /* within comment block
2017-05-29 11:57:59 -07:00
Nick Briggs
193d1ce6c2
Handle missing sysout name as intended.
2017-05-29 11:52:26 -07:00
Nick Briggs
fac5b4d4b0
References to 'isfinite()' require #include <math.h>
2017-05-28 21:42:38 -07:00
Nick Briggs
203d02caed
Correct unsequenced modification and access to 'base'
2017-05-28 21:38:51 -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
e08d3ce887
Wrap assignments used as if-condition in parens to suppress warning.
2017-05-28 19:46:39 -07:00
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