Commit Graph

11480 Commits

Author SHA1 Message Date
christos
47ecf56863 a little more KNF, plus add \e (from the previous commit) 2011-09-08 01:18:44 +00:00
christos
0ffd30a090 It is pointless to assign to the CLASS.set member and never use it again.
Perhaps the author meant to check if it is already set and not allocated it
again to avoid memory leaks? Anyway make everything const back and delete
the unused code. Yes, this leaks the same way as before but it is
insignificant. If we want to save memory we could use bytes or even bits
instead of ints, and not allocate/initialize the same thing multiple times.
2011-09-08 01:18:05 +00:00
joerg
91a068001c Add comment to explain the const issue to avoid future trouble. 2011-09-07 22:59:19 +00:00
riz
958c749ae4 Remove newly-introduced const qualifier from static CLASS classes[],
as CLASS->set gets changed in genclass().  Fixes a segfault doing:

tr '[:lower:]' '[:upper:]'

on (at least) amd64.
2011-09-07 18:21:41 +00:00
jmcneill
a123dfbe30 recognize AUDIO_ENCODING_AC3 2011-09-06 22:41:53 +00:00
wiz
2a5f867d29 Remove trailing whitespace and use Sx for section crossreference. 2011-09-06 19:22:05 +00:00
joerg
7d5aba78d7 Use static and __dead. 2011-09-06 18:50:32 +00:00
joerg
48ed0846d6 static + __dead 2011-09-06 18:46:35 +00:00
joerg
8751fcdadd Use __printflike and __dead. 2011-09-06 18:46:21 +00:00
joerg
78eefffb5d static + __dead 2011-09-06 18:46:03 +00:00
joerg
abb50018a2 ANSIfy, static + __dead 2011-09-06 18:45:49 +00:00
joerg
b47a64d89e static + __dead 2011-09-06 18:45:21 +00:00
joerg
505c5e5515 Use static and __dead 2011-09-06 18:45:04 +00:00
joerg
a12e209ee8 Mark usage as static and __dead. 2011-09-06 18:44:46 +00:00
joerg
4d7311244b static + __dead 2011-09-06 18:44:26 +00:00
joerg
60bd81b021 error_count is unsigned, so use %ju 2011-09-06 18:43:41 +00:00
joerg
8f7d1f2721 Use __dead and __printflike. Fix one format string and one error()
argument as hinted by the new format string checking.
2011-09-06 18:42:13 +00:00
joerg
1ed141bb41 ANSIfy, static + __dead 2011-09-06 18:35:41 +00:00
joerg
424d701a2a ANSIfy + __dead 2011-09-06 18:34:57 +00:00
joerg
4a9db21a64 ANSIfy, static + __dead 2011-09-06 18:34:37 +00:00
joerg
be0c033d10 ANSIfy. Sprinkle static and __dead. 2011-09-06 18:34:12 +00:00
joerg
1d57801981 ANSIfy. Sprinkle const and __dead. 2011-09-06 18:33:46 +00:00
joerg
cd57b1ce2a ANSIfy, static + __dead 2011-09-06 18:33:18 +00:00
joerg
f20d1d233d Use __dead. Make a bunch of local functions static. 2011-09-06 18:33:01 +00:00
joerg
c8b60166de ANSIfy + static + __dead 2011-09-06 18:32:26 +00:00
joerg
68168df687 ANSIfy + __dead 2011-09-06 18:32:03 +00:00
joerg
96c339267b Consistently use __dead and __printflike. 2011-09-06 18:31:44 +00:00
joerg
fb1e3f6f7d static + __dead 2011-09-06 18:31:22 +00:00
joerg
b480aed3ce Use static and __dead. 2011-09-06 18:30:56 +00:00
joerg
3500df6f19 Use pid_t directly. Apply static and __dead. 2011-09-06 18:30:38 +00:00
joerg
4d72fc9046 static + __dead 2011-09-06 18:29:35 +00:00
joerg
cfac3cac2b ANSIfy, static + __dead 2011-09-06 18:28:58 +00:00
joerg
3e796e7d89 static + __dead 2011-09-06 18:28:35 +00:00
joerg
75acfabd7f Use __dead and __printflike. 2011-09-06 18:28:18 +00:00
joerg
0b82381295 static + __dead 2011-09-06 18:26:55 +00:00
joerg
e7997c0db8 ANSIfy, static + __dead 2011-09-06 18:26:06 +00:00
joerg
d5bd94639a Consistently use __dead and __printflike. 2011-09-06 18:25:14 +00:00
joerg
f085baab1a static + __dead 2011-09-06 18:24:43 +00:00
joerg
0487dc01d5 ANSIfy + __dead 2011-09-06 18:24:15 +00:00
joerg
a2f897e7fe ANSIfy, static + __dead. 2011-09-06 18:19:58 +00:00
joerg
2eacf5d5a2 Mark __menu_initerror as dead in the output. 2011-09-06 18:16:38 +00:00
joerg
f0f23e661a Move usage and onintr to make them static. Add __dead as needed. 2011-09-06 18:16:01 +00:00
christos
f5cf37944f move UNIX socket mention in the BUGS section. 2011-09-06 11:31:47 +00:00
wiz
ba45f45512 Remove duplicate RCS Id and split file system. 2011-09-05 18:27:31 +00:00
joerg
170bc8c273 Moved to src/external/bsd/byacc. 2011-09-05 18:25:23 +00:00
joerg
7654d36ad8 Sprinkle const. Use __dead. 2011-09-05 18:11:53 +00:00
joerg
6d5539de9c static + __dead 2011-09-04 20:55:43 +00:00
joerg
08af8338c6 Sprinkle one more static and a bunch of consts. 2011-09-04 20:35:07 +00:00
joerg
81249d1a2f static + __dead 2011-09-04 20:31:00 +00:00
joerg
4e46e5935f ANSIfy + static + __dead 2011-09-04 20:29:12 +00:00