summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/indent_globs.h
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-03-30 17:10:20 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-03-30 17:10:20 +0000
commit99e772806a36ae098c6182c10930a22d0e294773 (patch)
tree1711f44fbf118a1272386226ffd60f4cc94cc20c /usr.bin/indent/indent_globs.h
parent02ab2c827dc5bab7d906f77bfdbb34f353f214aa (diff)
downloadFreeBSD-src-99e772806a36ae098c6182c10930a22d0e294773.zip
FreeBSD-src-99e772806a36ae098c6182c10930a22d0e294773.tar.gz
1) Const enough things to avoid warnings.
2) Cast ifdef_level to a size_t before comparing it to a ratio of size_ts. Ifdef_level should always be positive. 3) Complete prototype for chfont. 4) Cast some ptrdiff_ts to ints before using as a field width. 5) Avoid shadowing a local variable p with another local variable p.
Diffstat (limited to 'usr.bin/indent/indent_globs.h')
-rw-r--r--usr.bin/indent/indent_globs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h
index f366560..2726e5d 100644
--- a/usr.bin/indent/indent_globs.h
+++ b/usr.bin/indent/indent_globs.h
@@ -199,7 +199,7 @@ struct fstate {
char size;
int allcaps:1;
};
-char *chfont();
+char *chfont(struct fstate *, struct fstate *, char *);
struct fstate
keywordf, /* keyword font */
OpenPOWER on IntegriCloud