From 3d954bfd2f658ac05a0f20a1241738ed3e3fdd28 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 5 Feb 2014 11:10:02 +0100 Subject: Move lib to the root. --- lib/debug.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 lib/debug.h (limited to 'lib/debug.h') diff --git a/lib/debug.h b/lib/debug.h deleted file mode 100644 index ed62da1..0000000 --- a/lib/debug.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2011 NORDUnet A/S. All rights reserved. - See LICENSE for licensing information. */ - -#define hd(p, l) { int i; \ - for (i = 1; i <= l; i++) { \ - printf ("%02x ", p[i-1]); \ - if (i % 8 == 0) printf (" "); \ - if (i % 16 == 0) printf ("\n"); } \ - printf ("\n"); } - -#if defined (__cplusplus) -extern "C" { -#endif - -struct rs_packet; -void rs_dump_packet (const struct rs_packet *pkt); -int _rs_debug (const char *fmt, ...); - -#if defined (DEBUG) -#define rs_debug(x) _rs_debug x -#else -#define rs_debug(x) do {;} while (0) -#endif - -#if defined (__cplusplus) -} -#endif -- cgit v1.1