diff options
author | Christos Zoulas <christos@zoulas.com> | 2014-10-31 14:20:02 -0400 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2014-11-11 21:09:36 -0500 |
commit | 03a7f82cb4e0b273afbd1de04603a26a467e94c9 (patch) | |
tree | d54aef088666875a9d94037884b00ce23437ba1b /src/buf.c | |
parent | 2d257614dd66f410375f24ce1f2306b3c260bd29 (diff) |
NetBSD downstream patches.
const fixes.
-Wconversion fixes for the skeleton files.
param namespace protection (add _ to inline function parameters).
unused variable/code removal.
rename warn to lwarn to avoid conflict with <err.h>.
ctype.h function argument correction.
merged the error functions lerrif and lerrsf -> lerr.
Diffstat (limited to 'src/buf.c')
-rw-r--r-- | src/buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ struct Buf *buf_prints (struct Buf *buf, const char *fmt, const char *s) struct Buf *buf_linedir (struct Buf *buf, const char* filename, int lineno) { char *dst, *t; - const char* src; + const char *src; t = flex_alloc (strlen ("#line \"\"\n") + /* constant parts */ 2 * strlen (filename) + /* filename with possibly all backslashes escaped */ |