summaryrefslogtreecommitdiffstats
path: root/contrib/global/lib/tag.c
diff options
context:
space:
mode:
authorcwt <cwt@FreeBSD.org>1997-12-15 23:23:35 +0000
committercwt <cwt@FreeBSD.org>1997-12-15 23:23:35 +0000
commit7cb55de6f5fe34cf96591b368ea2596664c34a99 (patch)
tree6c996d5a5ed8fb0c736ab166bbf0422f729a3acc /contrib/global/lib/tag.c
parent4fda3be4508d5e4d5cebf2deac98f970dba97f16 (diff)
downloadFreeBSD-src-7cb55de6f5fe34cf96591b368ea2596664c34a99.zip
FreeBSD-src-7cb55de6f5fe34cf96591b368ea2596664c34a99.tar.gz
Resolve -Wall issues and be stylistic about #include directives.
Diffstat (limited to 'contrib/global/lib/tag.c')
-rw-r--r--contrib/global/lib/tag.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/global/lib/tag.c b/contrib/global/lib/tag.c
index 81d9aae..e80d634 100644
--- a/contrib/global/lib/tag.c
+++ b/contrib/global/lib/tag.c
@@ -31,11 +31,16 @@
* tag.c 20-Oct-97
*
*/
+#include <ctype.h>
+#include <string.h>
+
#include "dbio.h"
#include "die.h"
#include "gtagsopen.h"
-#include "tag.h"
#include "locatestring.h"
+#include "tab.h"
+#include "tag.h"
+
static DBIO *dbio;
static int opened;
@@ -73,7 +78,7 @@ char *path;
}
}
void
-tagclose()
+tagclose(void)
{
db_close(dbio);
opened = 0;
OpenPOWER on IntegriCloud