mrg
f8570f8a97
fix simple mis-matched function prototype and definitions.
...
most of these are like, eg
void foo(int[2]);
with either of these
void foo(int*) { ... }
void foo(int[]) { ... }
in some cases (such as stat or utimes* calls found in our header files),
we now match standard definition from opengroup.
found by GCC 12.
2023-08-01 07:04:14 +00:00
dholland
32cded6cc9
Typos.
2018-02-08 09:05:16 +00:00
christos
ded9763f6b
PR/50734: David Binderman: check bounds before dereferencing.
2016-02-01 17:34:00 +00:00
dholland
a3542600fb
sprintf considered harmful
2014-03-23 05:06:42 +00:00
riz
a9adb2c9b0
If the definition of a static function is #if DES, the declaration
...
of it should be too. Fixes build of ed where MKCRYPTO=no.
2010-06-09 19:20:18 +00:00
dholland
c314d41680
remove unused global variable
2009-07-26 02:07:12 +00:00
dholland
85d0adbcff
sprinkle static in this file
2009-07-26 02:06:37 +00:00
dholland
aa92b1b91b
Remove the need for -Wno-pointer-sign. Does not change the output .o file.
2009-07-26 01:58:20 +00:00
christos
6310b59691
sprinkle a little const, and now everything compiles with WARNS=3
2005-06-26 19:10:48 +00:00
xtraeme
d33a7206d5
Kill __P(), use ANSI function declarations.
2005-02-17 16:29:26 +00:00
wiz
bbbbcbe44f
Fix typos in comments. From Jared Yanovich via jmc@openbsd.
2003-10-19 01:52:45 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
lukem
b8a6769184
fix minor WARNS=2
2001-11-03 13:21:09 +00:00
mycroft
a36f9be148
Delint.
1998-07-28 05:46:20 +00:00
perry
75a6e03535
change includes to fix compiler warning
1998-02-03 04:55:59 +00:00
thorpej
8b7ade1ab8
- Use __RCSID() and __COPYRIGHT().
...
- Fix (all but two) compiler warnings.
1997-07-20 06:35:35 +00:00
tls
3811362c9a
kill use of register
1997-01-09 16:31:05 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
alm
1357f1551d
`s3' applies the last substitution to the 3rd (or nth) match.
...
Split up the code to several files.
1994-02-20 06:56:16 +00:00
alm
9380925b08
Added a line-addressing test so this isn't overlooked again.
...
Added BACKWARDS directive to Makefile for compatibility.
Completely changed the name space as per FSF's request.
Fixed a line-addressing bug introduced by previous `fix', i.e.,
space preceding a digit acts a plus (+) operator, as in `1 1' == `2',
and a plus operator by itself acts as +1, but a space by itself
should not equal a plus operator, i.e., `1 ' != `1+' == `2'.
1993-11-23 04:41:44 +00:00
alm
ba4d688de2
fix line addressing so that 1,2, == 2,2 (as per SunOS ed) not 1,2
...
add global-active routines to replace some bad hacks
remove obsolescent Addison-Wesley copyrights
1993-11-12 10:48:43 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
alm
2621a68caf
added support for lines of arbitrary length
...
added support for 8-bit data, including NULs
1993-05-08 10:49:52 +00:00
alm
f30a0860be
added an efficient and relatively clean move (`m' command)
...
added ustack checking
1993-04-15 04:58:32 +00:00
cgd
336e165c02
updated to alm's ed-0.2
1993-04-10 11:46:38 +00:00
cgd
9b082a69f0
added ed, from Andrew Moore, alm@netcom.com
1993-04-08 01:07:16 +00:00