From c0f19ccff73aa0ec5e9f3b61b932ea4a8bf4e6ed Mon Sep 17 00:00:00 2001 From: Daniel Mierswa Date: Mon, 17 Aug 2009 07:27:39 +0200 Subject: replace bcopy,bzero,index and rindex Those 4 functions are marked as LEGACY in POSIX.1-2001 and removed in POSIX.1-2008. Replaced with memmove,memset,strchr and strrchr. Signed-off-by: Daniel Mierswa --- text-utils/ul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-utils/ul.c') diff --git a/text-utils/ul.c b/text-utils/ul.c index 76c0a9703..a1491b846 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -42,7 +42,7 @@ #include #include /* for getopt(), isatty() */ -#include /* for bzero(), strcpy() */ +#include /* for memset(), strcpy() */ #include /* for setupterm() */ #include /* for getenv() */ #include /* for INT_MAX */ -- cgit v1.2.3-55-g7522