NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/51007: apropos.c: Remove unused includes



>Number:         51007
>Category:       bin
>Synopsis:       apropos.c: Remove unused includes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 24 17:35:00 +0000 2016
>Originator:     Abhinav Upadhyay
>Release:        CURRENT
>Organization:
>Environment:
>Description:
There are couple of unused imports in apropos.c, they could probably be removed without any harm.
>How-To-Repeat:

>Fix:
Index: apropos.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/makemandb/apropos.c,v
retrieving revision 1.17
diff -u -r1.17 apropos.c
--- apropos.c	20 Dec 2015 19:45:29 -0000	1.17
+++ apropos.c	24 Mar 2016 17:28:17 -0000
@@ -34,7 +34,6 @@
 __RCSID("$NetBSD: apropos.c,v 1.17 2015/12/20 19:45:29 christos Exp $");
 
 #include <err.h>
-#include <search.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -42,7 +41,6 @@
 #include <util.h>
 
 #include "apropos-utils.h"
-#include "sqlite3.h"
 
 typedef struct apropos_flags {
 	int sec_nums[SECMAX];



Home | Main Index | Thread Index | Old Index