diff options
author | 2013-11-13 22:38:22 +0000 | |
---|---|---|
committer | 2013-11-13 22:38:22 +0000 | |
commit | d418f94b3448bc0560d1f8deaf40532a3b23b905 (patch) | |
tree | 90bb9838182a2126f0ae56c3c2739d65aabe4b4e /lib/libsndio/debug.h | |
parent | repair prototypes (diff) | |
download | wireguard-openbsd-d418f94b3448bc0560d1f8deaf40532a3b23b905.tar.xz wireguard-openbsd-d418f94b3448bc0560d1f8deaf40532a3b23b905.zip |
Prefix by '_' symbols that are not part of the API.
ok deraadt, guenther
Diffstat (limited to 'lib/libsndio/debug.h')
-rw-r--r-- | lib/libsndio/debug.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libsndio/debug.h b/lib/libsndio/debug.h index 4d3baf40eef..8cad09f11b6 100644 --- a/lib/libsndio/debug.h +++ b/lib/libsndio/debug.h @@ -1,4 +1,4 @@ -/* $OpenBSD: debug.h,v 1.2 2011/11/15 08:05:22 ratchov Exp $ */ +/* $OpenBSD: debug.h,v 1.3 2013/11/13 22:38:22 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -22,30 +22,30 @@ #define DPRINTFN(n, ...) \ do { \ - if (sndio_debug >= (n)) \ + if (_sndio_debug >= (n)) \ fprintf(stderr, __VA_ARGS__); \ } while(0) #define DPRINTF(...) \ do { \ - if (sndio_debug > 0) \ + if (_sndio_debug > 0) \ fprintf(stderr, __VA_ARGS__); \ } while(0) #define DPERROR(s) \ do { \ - if (sndio_debug > 0) \ + if (_sndio_debug > 0) \ perror(s); \ } while(0) -void sndio_debug_init(void); -extern int sndio_debug; +void _sndio_debug_init(void); +extern int _sndio_debug; #else #define DPRINTF(...) do {} while(0) #define DPRINTFN(...) do {} while(0) #define DPERROR(s) do {} while(0) #endif -const char *sndio_parsetype(const char *, char *); +const char *_sndio_parsetype(const char *, char *); #endif |