Commit Graph

138046 Commits

Author SHA1 Message Date
christos 14f353517f Create the file opt_ah.h, which appears to be needed. Can we please
s/AH_/ATHHAL_/ everywhere?
2005-06-27 21:41:45 +00:00
thorpej 6da1229118 Use ANSI function decls and static. Fix a memory leak uncovered by
doing so (auixp_freemem() was never called).
2005-06-27 21:13:09 +00:00
rillig 1a815e1f74 Fixed a comment that said the factors in the output would be strictly
ascending.
2005-06-27 20:49:31 +00:00
peter df0caa2637 Remove (pf)spamd. Its right to exist in NetBSD has been questioned since it
appeared and whether it's really part of pf or not is still unclear. Looking
at the other *BSDs it seems that they have left out spamd when importing pf,
and now we do that too. Also, the name conflicted with another more popular
used tool, after the rename to pfspamd it was left with completely unusable
documentation which apparently no-one wanted to fix.

A port of the latest spamd will be imported into pkgsrc soon.

Suggested by several people, no objections on last proposal on tech-userlevel.
2005-06-27 20:32:39 +00:00
rillig 556489aa53 Changed the type of data_table to be unsigned char[] instead of char[],
because it is initialized with values >= SCHAR_MAX. Also removed two
unnecessary bit mask operations. These changes do not affect the actual
behavior. Also replaced an "#ifdef notdef" with "#if 0". All these
changes are mainly for reducing lint(1) warnings.
2005-06-27 20:32:07 +00:00
rillig 45a38dbbe7 Fixed buffer overflow with long command line arguments. 2005-06-27 19:49:20 +00:00
dbj b39ff22204 add "fsimage" phony target to rebuild image.
delete the ${WORKBUILT} tag on cleanfsimage so it
will get properly rebuilt
2005-06-27 19:10:32 +00:00
elad 1b7133edad From marius@openbsd:
Fix an issue when scripts are executed under systrace where the argv[0]
would be normalized, and hence break scripts that depend on how they were
called.
2005-06-27 17:11:20 +00:00
wiz 0fd61eded9 Fix pasto, noted by Marc Espie. 2005-06-27 14:18:36 +00:00
junyoung 632e7ed58f Remove a unnecessary semicolon and trailing spaces. 2005-06-27 12:07:46 +00:00
junyoung 01690e5f55 ANSI, KNF, de-__P, drop trailing spaces, and some other cosmetic changes. 2005-06-27 11:52:28 +00:00
junyoung b116f53b43 Remove trailing spaces. 2005-06-27 11:34:30 +00:00
junyoung d0824fcff5 Use the form of #include <...> rather than #include "..." for headers of
which paths don't start from the current directory.
2005-06-27 11:28:51 +00:00
junyoung 15991bc98b Remove trailing spaces. 2005-06-27 11:27:17 +00:00
junyoung e1aeee0597 Use the form of #include <...> rather than #include "..." for headers of
which paths don't start from the current directory.
2005-06-27 11:26:02 +00:00
junyoung 24833b0bc4 Remove trailing spaces. 2005-06-27 11:21:25 +00:00
ragge a4a700a791 Fixes due to cast-qual addition. 2005-06-27 11:05:24 +00:00
ragge 44e092c88a Shadowed variable fix. 2005-06-27 11:03:58 +00:00
ragge 5c95110a0c Update according to cast-qual addition. 2005-06-27 11:03:25 +00:00
wiz 3051d76108 Consistency. Use Pp instead of br. 2005-06-27 09:51:09 +00:00
dyoung c0a74e44c8 rtw: Try to get hardware WEP to work. It seems to work in
the RX direction, but not in the TX direction.  The
	  net80211 crypto framework doesn't seem to cope very well
	  with the assymetry (I'm probably missing something), so
	  I will use software WEP for now.

net80211: In ieee80211_compute_duration, figure out whether to add
	  the WEP header to the packet overhead by checking the
	  WEP bit in the Frame Control field of the 802.11 header,
	  instead of checking the IEEE80211_F_PRIVACY flag.

	  Also, if the WEP bit is present, assume that the frame
	  described by (wh, len) has already already been WEP
	  encapsulated, and adjust the payload length accordingly.
	  XXX that's a grotty hack that I will have to revisit,
	  later.
2005-06-27 05:49:13 +00:00
thorpej 6ab17a336e u_int8_t -> uint8_t 2005-06-27 03:36:25 +00:00
christos 444efb36db deal with casting/caddr_t stupidity. It is not 1980 anymore and people should
start using void *, instead of caddr_t.
2005-06-27 03:19:45 +00:00
christos c40b82ea42 constify. 2005-06-27 03:10:32 +00:00
christos cc9c2b575d - constify.
- don't dup extern declarations on each file because they end up being
  inconsistent (yyerror).
2005-06-27 03:07:45 +00:00
christos e2e7fbd568 no reason for those not to be const. 2005-06-27 03:00:03 +00:00
christos acdcf67bb0 constify. 2005-06-27 02:56:20 +00:00
lukem 9ba85beae2 the make(1) changes were backed out; remove entry from here 2005-06-27 02:51:52 +00:00
christos 9be35a638f more const. 2005-06-27 02:49:32 +00:00
christos e0dd0ca293 constify 2005-06-27 02:48:28 +00:00
thorpej b651fb886d Sprinkle some static. 2005-06-27 02:29:32 +00:00
thorpej 154a970ff4 Small whitespace tweak. 2005-06-27 02:23:26 +00:00
thorpej e569facced Use ANSI function decls. 2005-06-27 02:19:48 +00:00
christos e4b2253c50 add const. 2005-06-27 02:05:30 +00:00
christos 58874431a5 add const 2005-06-27 02:03:28 +00:00
christos cb1c4f11bb sprinkle const. 2005-06-27 01:55:52 +00:00
christos 64747563b4 sprinkle const 2005-06-27 01:37:32 +00:00
christos c236bddb0f sprinkle const. 2005-06-27 01:25:35 +00:00
fvdl c14a80e11b Don't define the debug variable here; it is declared statically elsewhere. 2005-06-27 01:23:59 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
christos 10a02919cc Add some more const so that this compiles again. 2005-06-27 00:46:04 +00:00
lukem 2bf924f405 Restore the rework from rev 1.115 and expand the description of .OBJDIR
to document the behaviour that is currently in use (the "./obj" and
"/usr/obj/`pwd`" behaviour).
Hopefully the existing .OBJDIR behaviour is clearer now.
2005-06-27 00:17:08 +00:00
christos 983e538712 Collect externs into one file instead of duplicating them everywhere. 2005-06-26 23:49:31 +00:00
christos dd8cdde018 Fix compiler warnings. 2005-06-26 23:34:26 +00:00
christos 042582c125 more const. 2005-06-26 23:04:19 +00:00
christos 97880e96ed constify. 2005-06-26 23:01:39 +00:00
christos 6499bd69c1 constify. 2005-06-26 22:45:50 +00:00
christos 79f5327ef7 This is the textbook example of why global variables are harmful. Fix multiple
shadowing warnings for variables with the same name used both in global and
local context. Really this needs either to rename all the global variables
something different (prefix them with gl_ or something) or even better get
rid of them altogether.
2005-06-26 22:36:55 +00:00
christos 47f6845101 add a const. 2005-06-26 22:34:38 +00:00
christos d0ef8ba60e - need string.h
- add const.
2005-06-26 22:34:12 +00:00