George Koehler
e04166b85d
More prototypes, less register in mach/proto/ncg
...
Files that #include "equiv.h" must do so after including "data.h", now
that a function prototype in equiv.h uses type rl_p from data.h.
Adjust style, changing some `for(...)` to `for (...)`. The style in
mach/proto/ncg is less than consistent; the big annoyance now is that
some files want tabs at 4 spaces, others want tabs at 8 spaces.
2017-11-13 12:44:17 -05:00
George Koehler
ba2a45180c
Prototypes for string functions. More static.
2017-11-12 11:25:18 -05:00
George Koehler
98b27dd505
Remove old "assert.h" in mach/proto/ncg
...
*Important:* You must "make clean" after checking out this commit,
because the build had copied the old "assert.h" to several places in
obj/. If you don't "make clean", then the compiler finds the old
"assert.h" before libc <assert.h>, and the build fails because this
commit removes badassertion() in subr.c. After "make clean", the
compiler finds libc <assert.h> and the build succeeds.
2017-11-11 19:35:48 -05:00
George Koehler
b342b83d28
Add function prototypes to mach/proto/ncg/regvar.c
2017-10-15 11:01:18 -04:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +01:00
David Given
a46ee91859
Fix warning.
...
--HG--
branch : dtrg-videocore
2013-05-19 23:18:36 +01:00
David Given
c93cb69959
Check in incomplete Linux PowerPC and M68K work.
...
--HG--
branch : dtrg-experimental-powerpc
2013-05-08 00:48:48 +01:00
dtrg
2aca7fbaf4
Renamed the private 'atol()' function to 'our_atol()' to avoid clashes with the libc one.
2006-07-18 16:57:51 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
5ccd830347
replaced atol definition
1991-12-18 16:15:18 +00:00
ceriel
53c4951b29
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 15:05:43 +00:00
eck
5badcb4296
changed stackheight computation to top element size computation
1990-09-04 17:16:00 +00:00
ceriel
6d675af42c
removed limit on string size
1990-07-30 15:40:08 +00:00
eck
4ef2c70ed3
added stackheight message handling
1990-07-18 14:53:19 +00:00
ceriel
3f950c9f17
Added a new operator for ncg: is_rom()
1990-02-09 16:34:17 +00:00
ceriel
79b0bb3347
do not declare sprintf. On some systems it is an int, on others it is
...
a char *
1989-11-29 09:55:03 +00:00
ceriel
319d9bcfe0
declaration of sprintf only if __STDC__ is not defined
1989-08-21 11:43:41 +00:00
ceriel
920ba0eebe
delinted somewhat
1989-02-02 16:31:51 +00:00
ceriel
e64951e1d3
removed some lint complaints
1988-06-28 14:41:02 +00:00
ceriel
048eac2d67
fixed to also read from standard input
1987-11-25 16:55:51 +00:00
ceriel
cb16212a09
declared freopen; apparently it is not declared in stdio.h
...
on some systems
1987-09-01 15:24:15 +00:00
ceriel
45f384c870
improved ROM handling
1987-05-18 15:50:42 +00:00
ceriel
5537abbdfb
Added copyright notice
1987-03-10 01:26:51 +00:00
ceriel
9877db53d9
Fixed a minor problem with off_fmt, when this format would not
...
produce the '-' sign.
1987-01-14 17:47:31 +00:00
sater
59861f883b
added support for modhead
1986-11-28 13:47:44 +00:00
ceriel
86018d09e1
changed sizes of labstr and argstr to accomodate longer identifiers.
1986-11-12 21:14:05 +00:00
sater
4ba6e7a39c
*** empty log message ***
1985-01-08 15:34:54 +00:00