From 3b4737b9e511bd2fb595eea1fd33c28e7e2b2add Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 9 Jun 2022 18:31:08 -0400 Subject: [PATCH] headers: Remove bsd_mem.h. This is a holdover from BeOS. All the functions in here we declare in other headers, so this is not needed. --- headers/posix/bsd_mem.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 headers/posix/bsd_mem.h diff --git a/headers/posix/bsd_mem.h b/headers/posix/bsd_mem.h deleted file mode 100644 index a0e773cbee..0000000000 --- a/headers/posix/bsd_mem.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2005-2012 Haiku, Inc. All Rights Reserved. - * Distributed under the terms of the MIT License. - */ - -/* - Make life easier for those porting old Berkeley style - code... -*/ -#ifndef _BSD_MEM_H_ -#define _BSD_MEM_H_ - -#ifndef USG /* when this is defined, these aren't needed */ - -#ifndef bcopy -#define bcopy(s, d, l) memmove(d, s, l) -#endif -#ifndef bzero -#define bzero(s, l) memset(s, 0, l) -#endif -#ifndef bcmp -#define bcmp(a, b, len) memcmp(a, b, len) -#endif - -#ifndef index -#define index(str, chr) strchr(str, chr) -#endif -#ifndef rindex -#define rindex(str, chr) strrchr(str, chr) -#endif - -#endif /* USG */ - -#endif /* _BSD_MEM_H_ */