summaryrefslogtreecommitdiff
path: root/=announce-1.0
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-11 13:27:58 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-11 13:38:45 +0200
commit2ba043d04468261cc767a3b91cec6df4b2238950 (patch)
tree4162bd71db9d4e4ead209af5d5595805e78abe39 /=announce-1.0
parente59f05e940643350bb3813e5b7f18f9fe54806f6 (diff)
kern: make sure the queue macros are only used on queues
This turns mistakes as the one corrected in e59f05e9 into compile-time errors. * kern/queue.h: Add a new macro, queue_assert, and use it to assert that all arguments given to the queue macros have the correct type. * device/net_io.c (ENQUEUE_DEAD): Adapt to the fact that `queue_next(q)' is no longer an lvalue.
Diffstat (limited to '=announce-1.0')
0 files changed, 0 insertions, 0 deletions