]> gitweb.ps.run Git - ps-cgit/commit
html: make all strings 'const char *'
authorMark Lodato <lodatom@gmail.com>
Tue, 9 Feb 2010 04:04:41 +0000 (23:04 -0500)
committerMark Lodato <lodatom@gmail.com>
Tue, 9 Feb 2010 04:04:41 +0000 (23:04 -0500)
commit8aab27f24de70acfbdcee31c634a4b1facf23b92
tree10e5f83a5f0c2a286ec2d1feecf6732f863c9a47
parent547a64fbd65de293c290f4e18bbeae958d54aaa7
html: make all strings 'const char *'

None of the html_* functions modify their argument, so they can all be
'const char *' instead of a simple 'char *'.  This removes the need to
cast (or copy) when trying to print a const string.

Signed-off-by: Mark Lodato <lodatom@gmail.com>
html.c
html.h