NetBSD-Bugs archive

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

bin/45658: Remove unused header in cmp.



>Number:         45658
>Category:       bin
>Synopsis:       Remove unused header in cmp.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 27 08:15:00 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Header string.h unused in regular.c and special.c.
>How-To-Repeat:

>Fix:
diff -u -p -r1.22 regular.c
--- usr.bin/cmp/regular.c       18 Apr 2009 06:24:05 -0000      1.22
+++ usr.bin/cmp/regular.c       4 Nov 2011 05:24:29 -0000
@@ -46,7 +46,6 @@ __RCSID("$NetBSD: regular.c,v 1.22 2009/
 #include <limits.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
 
 #include "extern.h"
 
===================================================================
diff -u -p -r1.13 special.c
--- usr.bin/cmp/special.c       11 Apr 2009 12:16:12 -0000      1.13
+++ usr.bin/cmp/special.c       4 Nov 2011 05:24:29 -0000
@@ -43,7 +43,6 @@ __RCSID("$NetBSD: special.c,v 1.13 2009/
 #include <err.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>
 
 #include "extern.h"



Home | Main Index | Thread Index | Old Index