diff options
author | David Malone <dwmalone@FreeBSD.org> | 2010-01-05 20:32:08 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2010-01-05 20:32:08 +0000 |
commit | e42dd26ae1489cfb085407a01a029387f6edc81d (patch) | |
tree | 9b9f2a93ef6c8ee3eceb93efd0266020d7c67d5d /usr.bin/ctags | |
parent | a50f74cc3ae1fadca175e2e688eda47e434f8559 (diff) | |
download | src-test-e42dd26ae1489cfb085407a01a029387f6edc81d.tar.gz src-test-e42dd26ae1489cfb085407a01a029387f6edc81d.zip |
Change a char that is used as an index into an array into an unisgned char.
Add a missing new style function definition.
Notes
Notes:
svn path=/head/; revision=201606
Diffstat (limited to 'usr.bin/ctags')
-rw-r--r-- | usr.bin/ctags/ctags.c | 2 | ||||
-rw-r--r-- | usr.bin/ctags/fortran.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c index eda4145291f92..2d9e3f36ed011 100644 --- a/usr.bin/ctags/ctags.c +++ b/usr.bin/ctags/ctags.c @@ -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; diff --git a/usr.bin/ctags/fortran.c b/usr.bin/ctags/fortran.c index 3761615f10ebd..a494752f7f0ec 100644 --- a/usr.bin/ctags/fortran.c +++ b/usr.bin/ctags/fortran.c @@ -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; |