diff options
author | 2013-04-01 15:49:54 +0000 | |
---|---|---|
committer | 2013-04-01 15:49:54 +0000 | |
commit | 43f9b9884eaec506014e68ec4f0b7b0064120d27 (patch) | |
tree | db3012a77d975b045b6626902b5d9673320f7a05 /lib/libc/asr/asr_debug.c | |
parent | Rename sr_crypto_rw2() to sr_crypto_dev_rw(), which actually reflects the (diff) | |
download | wireguard-openbsd-43f9b9884eaec506014e68ec4f0b7b0064120d27.tar.xz wireguard-openbsd-43f9b9884eaec506014e68ec4f0b7b0064120d27.zip |
space cleanup; ok eric
Diffstat (limited to 'lib/libc/asr/asr_debug.c')
-rw-r--r-- | lib/libc/asr/asr_debug.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/asr/asr_debug.c b/lib/libc/asr/asr_debug.c index 3c50eeafd86..eeed6a710f3 100644 --- a/lib/libc/asr/asr_debug.c +++ b/lib/libc/asr/asr_debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr_debug.c,v 1.10 2012/11/24 15:12:48 eric Exp $ */ +/* $OpenBSD: asr_debug.c,v 1.11 2013/04/01 15:49:54 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -26,11 +26,11 @@ #include "asr.h" #include "asr_private.h" -static const char* rcodetostr(uint16_t); -static const char* print_dname(const char *, char *, size_t); -static const char* print_header(const struct header *, char *, size_t); -static const char* print_query(const struct query *, char *, size_t); -static const char* print_rr(const struct rr*, char *, size_t); +static const char *rcodetostr(uint16_t); +static const char *print_dname(const char *, char *, size_t); +static const char *print_header(const struct header *, char *, size_t); +static const char *print_query(const struct query *, char *, size_t); +static const char *print_rr(const struct rr *, char *, size_t); FILE *asr_debug = NULL; @@ -51,13 +51,13 @@ rcodetostr(uint16_t v) } } -static const char* +static const char * print_dname(const char *_dname, char *buf, size_t max) { return (asr_strdname(_dname, buf, max)); } -static const char* +static const char * print_rr(const struct rr *rr, char *buf, size_t max) { char *res; @@ -129,7 +129,7 @@ print_rr(const struct rr *rr, char *buf, size_t max) return (res); } -static const char* +static const char * print_query(const struct query *q, char *buf, size_t max) { char b[256]; @@ -141,7 +141,7 @@ print_query(const struct query *q, char *buf, size_t max) return (buf); } -static const char* +static const char * print_header(const struct header *h, char *buf, size_t max) { snprintf(buf, max, |