Date: Tue, 5 Jan 2010 20:32:08 +0000 (UTC) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r201606 - head/usr.bin/ctags Message-ID: <201001052032.o05KW8fU004984@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001052032.o05KW8fU004984>