From 084fe3cb423214b1159c34b05f34b82ba4bb587a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sat, 22 Jan 2022 01:56:46 +0100 Subject: [PATCH] Forbid b{copy,zero,cmp}(). Don't include for MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #12996 --- include/os/windows/spl/strings.h | 4 --- include/os/windows/spl/sys/strings.h | 25 ----------------- lib/libspl/include/os/windows/strings.h | 36 ------------------------- 3 files changed, 65 deletions(-) delete mode 100644 include/os/windows/spl/strings.h delete mode 100644 include/os/windows/spl/sys/strings.h delete mode 100644 lib/libspl/include/os/windows/strings.h diff --git a/include/os/windows/spl/strings.h b/include/os/windows/spl/strings.h deleted file mode 100644 index 0048ab771daf..000000000000 --- a/include/os/windows/spl/strings.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef _SPL_STRINGS_H -#define _SPL_STRINGS_H - -#endif /* SPL_STRINGS_H */ diff --git a/include/os/windows/spl/sys/strings.h b/include/os/windows/spl/sys/strings.h deleted file mode 100644 index 24fbb8091560..000000000000 --- a/include/os/windows/spl/sys/strings.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -#ifndef _SPL_STRINGS_H -#define _SPL_STRINGS_H - -#endif diff --git a/lib/libspl/include/os/windows/strings.h b/lib/libspl/include/os/windows/strings.h deleted file mode 100644 index 872b50239ca7..000000000000 --- a/lib/libspl/include/os/windows/strings.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#ifndef _LIBSPL_STRINGS_H -#define _LIBSPL_STRINGS_H - -#include - -#define strtok_r strtok_s - -char *strsep(char **stringp, const char *delim); - -#endif