svn commit: r201606 - head/usr.bin/ctags
David Malone
dwmalone at FreeBSD.org
Tue Jan 5 20:32:09 UTC 2010
Author: dwmalone
Date: Tue Jan 5 20:32:08 2010
New Revision: 201606
URL: http://svn.freebsd.org/changeset/base/201606
Log:
Change a char that is used as an index into an array into an unisgned char.
Add a missing new style function definition.
Modified:
head/usr.bin/ctags/ctags.c
head/usr.bin/ctags/fortran.c
Modified: head/usr.bin/ctags/ctags.c
==============================================================================
--- head/usr.bin/ctags/ctags.c Tue Jan 5 20:29:30 2010 (r201605)
+++ head/usr.bin/ctags/ctags.c Tue Jan 5 20:32:08 2010 (r201606)
@@ -244,7 +244,7 @@ void
init(void)
{
int i;
- const char *sp;
+ const unsigned char *sp;
for (i = 0; i < 256; i++) {
_wht[i] = _etk[i] = _itk[i] = _btk[i] = NO;
Modified: head/usr.bin/ctags/fortran.c
==============================================================================
--- head/usr.bin/ctags/fortran.c Tue Jan 5 20:29:30 2010 (r201605)
+++ head/usr.bin/ctags/fortran.c Tue Jan 5 20:32:08 2010 (r201606)
@@ -52,7 +52,7 @@ static void takeprec(void);
char *lbp; /* line buffer pointer */
int
-PF_funcs()
+PF_funcs(void)
{
bool pfcnt; /* pascal/fortran functions found */
char *cp;
More information about the svn-src-all
mailing list