Bruce Mitchener
3c3a4a6292
Remove unused INTRCHECK def. ( #117 )
...
This was only defined for Solaris and wasn't used anywhere.
2020-12-22 17:34:10 +00:00
Bruce Mitchener
254550d111
Remove empty, unreferenced bbt386i.h. ( #115 )
2020-12-21 22:25:26 -08:00
Bruce Mitchener
9a21f5339a
Remove XV11R4 and related defines. ( #113 )
...
We no longer have anything predicated upon the version of X11 that
we're using (and these versions are all ancient anyway).
2020-12-21 22:11:39 -08:00
Bruce Mitchener
37c410eb31
X*.h headers weren't cleaned up after renaming and merging. ( #112 )
...
* Check.h, Stipple.h, XCursors.h, XWaitCur.h, Xcursdef.h,
Xdefcur.h, and Xicon.h were combined into xbitmaps.h.
* Xdisplay.h is not used and the contents are in MyWindow.h, which
is used.
* XVersion.h and Xdeflt.h became xdefs.h. Remove 2 stragglers
that were still including XVersion.h.
2020-12-21 19:13:30 -08:00
Nick Briggs
b901038367
Fix typo #ifdef RESWAPPEDDCODESTREAM -- should be RESWAPPEDCODESTREAM ( #106 )
2020-12-22 01:53:47 +00:00
Bruce Mitchener
bed68c8dda
Remove unused retfun function. ( #111 )
2020-12-21 18:09:14 +00:00
Bruce Mitchener
d4f72d96e1
Remove FSERROR define as it is always on. ( #96 )
...
The FSERROR define is on all the time now. It was not controlling
all of the functionality, with many places setting Lisp_errnno
outside of the code controlled by the define.
2020-12-17 09:33:20 -08:00
Nick Briggs
26e67a513e
fix warning: result of the left shift is undefined because the left operand is negative ( #91 )
...
There is no functional difference between the old and new code, but we avoid
complaints from code analysis tools such as clang-tidy
2020-12-17 16:25:27 +00:00
Bruce Mitchener
be88851eaf
Remove USE_UTIME. ( #87 )
...
This wasn't enabled and the corresponding code wouldn't have
compiled. The `utime()` function is also deprecated in POSIX.
This used to be enabled for HPUX and RISCOS.
2020-12-16 11:06:14 -08:00
Bruce Mitchener
6539dc287d
medleyfp.h includes ( #82 )
...
* Add missing <math.h> for FPTEST on Linux.
* Consolidate medleyfp.h DOS includes.
2020-12-16 10:57:10 -08:00
Nick Briggs
a97b2a3501
Fixup xdefs.h ( #76 )
...
Update guard name to match file name and protect entire file
Only declare extern lock variables when doing locking
Include system headers that locking macros depend on
Convert code block macros to do { } while (0) statement style
2020-12-15 18:33:44 -08:00
Bruce Mitchener
7a1569a5ba
Remove unused sccsid files. ( #75 )
2020-12-15 18:33:10 -08:00
Bruce Mitchener
d5965b64de
Remove final instances of index/rindex defines. ( #74 )
2020-12-15 18:31:46 -08:00
Bruce Mitchener
c196393879
Remove unused BSD_COMP define from SunOS5 config. ( #70 )
2020-12-15 10:17:11 -08:00
Bruce Mitchener
69adf2ffd3
Use LINUX, not AIX, in medleyfp.h. ( #63 )
...
AIX was defined by a number of targets, but the only one that
doesn't currently have anything here is LINUX, so we can just
check that instead.
2020-12-15 08:32:44 -08:00
Bruce Mitchener
7e2e1399e3
inc/version.h: Remove some old/unused workarounds. ( #57 )
2020-12-14 22:10:30 -08:00
Bruce Mitchener
857100a29a
Remove AIX on PS/2 platform support. ( #50 )
2020-12-14 18:14:59 -08:00
Nick Briggs
e267ebcd05
Convert debug print macros to do {} while (0) style.
...
Convert conditional debug statements to require external semi-colon.
modified: ../inc/dbprint.h
modified: ../src/ldsout.c
2020-12-14 13:50:55 -08:00
Bruce Mitchener
7d2de5e4de
Remove define direct dirent workarounds. ( #47 )
...
This also removes a workaround for L_SET, as well as some of the
dirent member fields.
2020-12-14 12:16:59 -08:00
Bruce Mitchener
fd0e12e855
Remove AIX RS/6000 platform support. ( #46 )
...
AIX on PS/2 will be removed separately.
2020-12-14 12:13:38 -08:00
Bruce Mitchener
9c01d39812
Use waitpid, not wait3, etc. ( #44 )
...
This removes code that uses `union wait` status in favor of code
that uses `int` status. This has been the correct way since
SvR4, BSD 4.3, POSIX.
2020-12-14 09:58:28 -08:00
Bruce Mitchener
52d3590401
Remove 1988-era copies of some SunOS headers. ( #42 )
2020-12-14 17:38:14 +00:00
Bruce Mitchener
2dba7492af
Begin to remove ISC platform support. ( #40 )
...
We don't want to modify emulation code yet as ISC support included
a number of other things, including some i386 code that isn't used
on other platforms, but is still useful as a reference.
2020-12-13 22:31:58 -08:00
Bruce Mitchener
7119613aee
Remove RISCOS platform support. ( #39 )
2020-12-14 01:38:57 +00:00
Bruce Mitchener
33a42736d4
Remove OSF1 / DEC3100 platform support. ( #36 )
...
This also removes support for the DEC3100 keyboard, but leaves a
constant behind for it as I'm not sure about re-numbering.
[NBriggs: keyboard type numbers are stored within all sysouts. Do not renumber supported keyboards, do not reuse previously used keyboard numbers]
2020-12-13 10:22:43 -08:00
Nick Briggs
cfec521c33
Remove unused VOID
2020-12-12 23:44:12 -08:00
Bruce Mitchener
8e67d0e3c9
Remove unused externs.h ( #35 )
...
The things that are declared here either are declared elsewhere
or don't exist any longer.
2020-12-12 21:46:34 -08:00
Bruce Mitchener
1c912ff57e
Remove HP platform support. ( #34 )
...
This removes code related to HP9000, HPTIMERBUG, and HPUX defines.
It leaves KB_HP9000 for now as I'm not sure about renumbering
those constants.
This should not impact any of the core emulation code.
2020-12-13 05:35:53 +00:00
Bruce Mitchener
750d84c78c
Remove SGI Irix platform support. ( #33 )
...
This platform had no emulation-related changes.
Remove code for IRIX40, INDIGO definitions.
In disk code, simplify a chain of #ifdef's around fsync handling.
2020-12-13 02:57:07 +00:00
Bruce Mitchener
1c28005420
Remove support for Ultrix. ( #28 )
...
Ultrix hasn't seen an update since 1995 and the DEC3100 hardware
that this was originally written for was released in 1989.
It isn't likely that anyone has Ultrix running on hardware where
they would also want to run this.
2020-12-12 18:15:22 -08:00
Bruce Mitchener
292809694e
Remove platform support for Apollo/Domain. ( #30 )
2020-12-13 02:07:08 +00:00
Nick Briggs
a059b67e88
Make dremove() static in src/storage.c, there are no other references.
2020-12-11 22:06:23 -08:00
Bruce Mitchener
259a2006a1
Remove inc/lnk-*.h ( #23 )
...
These headers aren't used and are all old copies of the same
headers without `lnk-` in the name.
2020-12-10 21:52:12 -08:00
Bruce Mitchener
fd9ca83dac
Remove inc/stream.h2 ( #26 )
...
This is identical to inc/stream.h apart from a SCCS ID line and
is unused.
2020-12-10 21:41:52 -08:00
Bruce Mitchener
d8aef575b4
Remove old editor save file for inc/sysatms.h. ( #25 )
2020-12-10 21:00:01 -08:00
Bruce Mitchener
dbd5bd6679
Remove fp.h ( #21 )
...
This was replaced by medleyfp.h. Perhaps this happened because
some systems have an fp.h in their system includes and the naming
collision was an issue. But nothing uses fp.h and medleyfp.h is
an updated version of the contents.
This also updates a bunch of manually managed dependency lists
to reflect the usage of medleyfp.h rather than fp.h.
Nick Briggs: Note that on OSF1 medleyfp.h includes the system fp.h (probably the origin of the renaming)
2020-12-10 17:52:08 +00:00
Bruce Mitchener
d6d2a3371a
Use getcwd() instead of getwd(). ( #20 )
...
getwd() has been deprecated for a long time and getcwd() should
be used instead.
2020-12-10 17:24:21 +00:00
Bruce Mitchener
11c083d792
Remove editor save files. ( #19 )
...
Reviewed differences between save files and current versions to ensure no relevant history was lost.
2020-12-10 08:39:07 -08:00
Bruce Mitchener
e025617c13
Fix some typos. ( #18 )
...
Changes to commentary only.
2020-12-10 08:07:35 -08:00
Nick Briggs
5c8fb47005
Change local variable name to avoid warnings for shadowing.
...
modified: inc/arith.h
2020-12-09 18:23:16 -08:00
Nick Briggs
af30a6d5a9
Change names of block local variables causing shadowing warnings.
...
Remove duplicate function prototype declaration (duplicate in inc/returndefs.h)
modified: inc/return.h
2020-12-08 10:20:07 -08:00
Nick Briggs
f89cc4449c
Fix local variables declared in macros to avoid them shadowing other variables.
...
Fix some spelling errors.
Remove deprecated register attribute
modified: inc/lispver2.h
modified: inc/locfile.h
2020-12-07 15:36:53 -08:00
Nick Briggs
a067ab2a67
Correct spelling errors in rs232c.h
2020-12-07 11:03:05 -08:00
Nick Briggs
bc702f74ad
If "inline" is used it should be the first attribute in the procedure declaration.
...
modified: ../inc/my.h
2020-11-27 14:52:03 -08:00
Nick Briggs
21baf85c22
Fix prototype syntax for functions with no parameters in include files
...
Add some overlooked function prototypes to xxxdefs.h include files
Add missing #include of relevant xxxdefs.h in a couple of source files
Add prototypes in standalone programs to silence (some) -Wmissing-prototype warnings
Remove duplicate prototype from hardrtn.c
modified: inc/commondefs.h
modified: inc/dirdefs.h
modified: inc/dspifdefs.h
modified: inc/dspsubrsdefs.h
modified: inc/etherdefs.h
modified: inc/gcmain3defs.h
modified: inc/initdspdefs.h
modified: inc/initkbddefs.h
modified: inc/keyeventdefs.h
modified: inc/maindefs.h
modified: inc/osmsgdefs.h
modified: inc/testtooldefs.h
modified: inc/timerdefs.h
modified: inc/unixfork.h
modified: inc/uraiddefs.h
modified: inc/vmemsavedefs.h
modified: inc/xcursordefs.h
modified: inc/xlspwindefs.h
modified: src/arith2.c
modified: src/ether.c
modified: src/hardrtn.c
modified: src/keytstno.c
modified: src/setsout.c
modified: src/tstsout.c
2020-09-27 11:58:17 -07:00
Nick Briggs
52c04137b0
Remove unnecessary struct definition for SX hash arguments.
...
modified: inc/sxhashdefs.h
modified: src/miscn.c
modified: src/sxhash.c
2020-09-06 12:22:50 -07:00
Nick Briggs
8612d84761
Add missing function prototype to gchtfinddefs.h
...
modified: inc/gchtfinddefs.h
2020-09-05 17:04:28 -07:00
Nick Briggs
cfc0046675
Rename gc.h to gcdata.h to avoid conflict with Boehm GC system include file, and adjust sources.
...
Remove duplicate external function definitions from gcdata.h
renamed: inc/gc.h -> inc/gcdata.h
modified: src/array2.c
modified: src/array4.c
modified: src/array6.c
modified: src/asmbbt.c
modified: src/asmbitblt.c
modified: src/bbtsub.c
modified: src/car-cdr.c
modified: src/conspage.c
modified: src/fvar.c
modified: src/gc.c
modified: src/gcarray.c
modified: src/gccode.c
modified: src/gcfinal.c
modified: src/gchtfind.c
modified: src/gcmain3.c
modified: src/gcoflow.c
modified: src/gcr.c
modified: src/gcrcell.c
modified: src/gcscan.c
modified: src/gvar2.c
modified: src/initsout.c
modified: src/loopsops.c
modified: src/mkcell.c
modified: src/rplcons.c
modified: src/storage.c
modified: src/xc.c
modified: src/z2.c
2020-09-05 16:39:21 -07:00
Nick Briggs
e51a2e2b16
Remove temporary file that should not have been placed under version control.
...
deleted: gc.h.save
2020-09-05 16:17:35 -07:00
Nick Briggs
f110951172
Remove obsolete and unused gcscan.h
...
Predates BIGVM changes and has been incorporated into gcscan.c
with backward compatability.
deleted: gcscan.h
2020-09-05 16:15:22 -07:00