source: zzuf/trunk/src/debug.h @ 2577

Last change on this file since 2577 was 2577, checked in by Sam Hocevar, 12 years ago
  • configure.ac: add a check for the printf function attribute.
  • Property svn:keywords set to Id
File size: 661 bytes
Line 
1/*
2 *  zzuf - general purpose fuzzer
3 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
4 *                All Rights Reserved
5 *
6 *  $Id: debug.h 2577 2008-07-20 11:11:27Z sam $
7 *
8 *  This program is free software. It comes without any warranty, to
9 *  the extent permitted by applicable law. You can redistribute it
10 *  and/or modify it under the terms of the Do What The Fuck You Want
11 *  To Public License, Version 2, as published by Sam Hocevar. See
12 *  http://sam.zoy.org/wtfpl/COPYING for more details.
13 */
14
15/*
16 *  debug.h: debugging support
17 */
18
19extern void _zz_debug(const char *format, ...) ATTRIBUTE_PRINTF(1,2);
20
21#ifdef LIBZZUF
22#   define debug _zz_debug
23#else
24#   define debug(...)
25#endif
26
Note: See TracBrowser for help on using the repository browser.