Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2002 04:45:12 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        audit@FreeBSD.org
Subject:   minor header change in src/bin/dd/misc.c
Message-ID:  <20020609014512.GA72307@hades.hell.gr>

next in thread | raw e-mail | index | archive | help
The source of bin/dd/misc.c doesn't use any of the functions of
<strings.h> but uses strlen, which is defined in <string.h>.  The
following seems to fix the only warning this file triggers for me.
Does it seem ok to you all?

%%%
Index: misc.c
===================================================================
RCS file: /home/ncvs/src/bin/dd/misc.c,v
retrieving revision 1.23
diff -u -r1.23 misc.c
--- misc.c	2 Feb 2002 06:24:12 -0000	1.23
+++ misc.c	9 Jun 2002 01:42:12 -0000
@@ -49,7 +49,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <unistd.h>
 
 #include "dd.h"
%%%


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020609014512.GA72307>