Commit Graph

221694 Commits

Author SHA1 Message Date
riz
31095efe60 Before testing the value of HAVE_GCC, test if it's defined. 2013-10-18 01:12:00 +00:00
riz
65fba94655 C requires a statement after a label, and a declaration is not a
statement, so create a block using {}.  From christos.
2013-10-18 00:03:35 +00:00
christos
fc8781bab9 Avoid casting gymnastics that lead to pointer aliasing by introducing an
inline function.
2013-10-17 23:58:05 +00:00
christos
b9ba14885c remove always inline because new gcc bitches. 2013-10-17 23:56:17 +00:00
christos
8855c55412 add missing _ 2013-10-17 23:05:08 +00:00
christos
f0676b1145 we need to return something here. 2013-10-17 23:04:20 +00:00
joerg
defe44bfc7 Explicitly include bsd.clean.mk for cleandir. 2013-10-17 22:07:59 +00:00
christos
b787afbfb6 - remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables
2013-10-17 21:24:24 +00:00
christos
1f73a688da remove unused variable 2013-10-17 21:23:05 +00:00
christos
f14031c90e move notyet variable into notyet section 2013-10-17 21:22:28 +00:00
christos
abf8e02e90 add __USE for debugging variables 2013-10-17 21:22:01 +00:00
christos
3abacce2d8 - remove unused variables
- moved debugging variable into debugging ifdef
2013-10-17 21:20:10 +00:00
christos
e794833e32 remove unused variables 2013-10-17 21:19:40 +00:00
christos
6888745cca remove unused variable 2013-10-17 21:18:43 +00:00
christos
cafe8b9a3c remove unused variables and __USE a debugging variable 2013-10-17 21:16:12 +00:00
christos
767345987a remove unused variables 2013-10-17 21:15:18 +00:00
christos
b94bb9347c define a new macro that does not declare variables used in output. 2013-10-17 21:15:00 +00:00
christos
86aec73c13 annotate some unused variables the authors want to keep 2013-10-17 21:14:05 +00:00
christos
e61d329a40 __USE a debugging variable 2013-10-17 21:12:56 +00:00
christos
6a8eb50e91 remove set but unused variables 2013-10-17 21:12:24 +00:00
christos
89198fe5bf use the parameter for instruction macros 2013-10-17 21:11:15 +00:00
christos
c829de6452 remove unused variable 2013-10-17 21:08:16 +00:00
christos
415c6c7ed0 - remove unused variables
- move ifdef variables inside ifdef sections
2013-10-17 21:07:37 +00:00
christos
c26593e016 remove unused variable 2013-10-17 21:06:47 +00:00
christos
d64c5a360b - remove unused variables
- move debugging code inside debugging sections
2013-10-17 21:06:15 +00:00
christos
dc3a4b222f __USE a debugging var 2013-10-17 21:05:41 +00:00
christos
9fda064713 remove usused code 2013-10-17 21:04:44 +00:00
christos
ba0dd1c1e6 remove unused code 2013-10-17 21:03:50 +00:00
christos
6069744732 - remove unused variables
- add _NOERROR flavor macros for the case where errors are ignored.
2013-10-17 21:03:27 +00:00
christos
cae86aa949 - remove unused variables
- add debug ifdefs for debugging variables
- __USE() where appropriate.
2013-10-17 21:01:08 +00:00
christos
148f2a4a9b __USE() unused variables 2013-10-17 20:59:16 +00:00
christos
b56b5d923d __USE a debugging variable 2013-10-17 20:58:55 +00:00
christos
5ca5370483 remove unused variable, and move variable used only by XEN in the XEN ifdef. 2013-10-17 20:57:58 +00:00
christos
951530b23a initialize a variable, hi gcc again! 2013-10-17 20:57:06 +00:00
christos
9263de029f remove unused code from macro 2013-10-17 20:56:02 +00:00
christos
641eff3991 remove unused code. 2013-10-17 20:55:30 +00:00
christos
289bc9f713 move module code inside module ifdef 2013-10-17 20:54:24 +00:00
wiz
d19876761f Remove trailing whitespace. 2013-10-17 20:43:49 +00:00
jnemeth
20362f9ef2 - DPRINTF(("val is %d\n", val)); -> DPRINTF(("val is %d\n", var));
- mdoclint:
  - .Nd should not end with period
  - remove trailing spaces
2013-10-17 19:37:56 +00:00
kefren
f86d4fa943 allow setting transport addresses for interfaces into config file
also move passive-interface functionality under interface block
report the correct line for config parsing errors
2013-10-17 18:10:23 +00:00
njoly
4a806b5236 Regen for mknodat(2) device argument type change. 2013-10-17 18:04:40 +00:00
njoly
349036b521 Change mknodat(2) device argument type from uint32_t to dev_t.
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.
2013-10-17 18:01:11 +00:00
christos
4d024dddcc Our <sys/param.h> ends up calling header files that define intmax_t. This
should not be the case (but >sys/param.h> is not a standard header so all bets
are off). FreeBSD's does not, so explicitly include <stdint.h> to get it.
2013-10-17 17:22:59 +00:00
christos
706d1420d4 add __USE 2013-10-17 16:52:02 +00:00
christos
739aabb0b4 add non-portability caveat. 2013-10-17 16:50:48 +00:00
christos
eb78d644f3 describe the __USE macro 2013-10-17 16:50:36 +00:00
gson
6060a7c9d9 Don't capitalize "it" in the middle of a sentence. 2013-10-17 13:17:50 +00:00
christos
11fdff5426 CID 1107548: resource leak 2013-10-17 12:53:28 +00:00
christos
73a690f0f7 CID 1107550: resource leak 2013-10-17 12:52:09 +00:00
wiz
ff37728867 Still more markup. Sort. 2013-10-17 09:44:22 +00:00