From c2d63650d962612cfa1b21302782d4cd12142c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 12 Feb 2019 17:25:21 +0100 Subject: slirp: move sources to src/ subdirectory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prepare for making slirp/ a standalone project. Remove some useless includes while at it. Signed-off-by: Marc-André Lureau Message-Id: <20190212162524.31504-5-marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault --- slirp/debug.h | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 slirp/debug.h (limited to 'slirp/debug.h') diff --git a/slirp/debug.h b/slirp/debug.h deleted file mode 100644 index 44d922d..0000000 --- a/slirp/debug.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 1995 Danny Gasparovski. - * - * Please read the file COPYRIGHT for the - * terms and conditions of the copyright. - */ - -#ifndef DEBUG_H_ -#define DEBUG_H_ - -#define DBG_CALL (1 << 0) -#define DBG_MISC (1 << 1) -#define DBG_ERROR (1 << 2) -#define DBG_TFTP (1 << 3) - -extern int slirp_debug; - -#define DEBUG_CALL(fmt, ...) do { \ - if (G_UNLIKELY(slirp_debug & DBG_CALL)) { \ - g_debug(fmt "...", ##__VA_ARGS__); \ - } \ -} while (0) - -#define DEBUG_ARG(fmt, ...) do { \ - if (G_UNLIKELY(slirp_debug & DBG_CALL)) { \ - g_debug(" " fmt, ##__VA_ARGS__); \ - } \ -} while (0) - -#define DEBUG_MISC(fmt, ...) do { \ - if (G_UNLIKELY(slirp_debug & DBG_MISC)) { \ - g_debug(fmt, ##__VA_ARGS__); \ - } \ -} while (0) - -#define DEBUG_ERROR(fmt, ...) do { \ - if (G_UNLIKELY(slirp_debug & DBG_ERROR)) { \ - g_debug(fmt, ##__VA_ARGS__); \ - } \ -} while (0) - -#define DEBUG_TFTP(fmt, ...) do { \ - if (G_UNLIKELY(slirp_debug & DBG_TFTP)) { \ - g_debug(fmt, ##__VA_ARGS__); \ - } \ -} while (0) - -#endif /* DEBUG_H_ */ -- cgit v1.1