summaryrefslogtreecommitdiff
path: root/pcap_io.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-05-17 13:27:17 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-05-17 13:30:27 +0200
commit4befb10700377fbc6318ceb9e53e43d31fb251b3 (patch)
tree07d54a3e1553befdff523ad6c110e2c6346e0a00 /pcap_io.h
parentb0e6d1d45438af6a39d4ca8576edce3f6647c46f (diff)
netsniff-ng: Add __noreturn attribute to exiting functions
Add the __noreturn attribute to all functions which wont return but call die() themselves to exit(). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pcap_io.h')
0 files changed, 0 insertions, 0 deletions
omething like 00-0F-AC:9, but the part after the colon isn't hex, it's decimal, so that we've already had a few mistakes (in other code, or unmerged patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. Use a macro to avoid that problem. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/testing/ktest')