diff mbox series

[v1] x86: Add copyright to strpbrk-c.c

Message ID 20220609002759.3361454-1-goldstein.w.n@gmail.com
State New
Headers show
Series [v1] x86: Add copyright to strpbrk-c.c | expand

Commit Message

Noah Goldstein June 9, 2022, 12:27 a.m. UTC
---
 sysdeps/x86_64/multiarch/strpbrk-c.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Noah Goldstein June 9, 2022, 7:46 p.m. UTC | #1
On Wed, Jun 8, 2022 at 5:28 PM Noah Goldstein <goldstein.w.n@gmail.com> wrote:
>
> ---
>  sysdeps/x86_64/multiarch/strpbrk-c.c | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/sysdeps/x86_64/multiarch/strpbrk-c.c b/sysdeps/x86_64/multiarch/strpbrk-c.c
> index c58dcb5605..abf4ff7f1a 100644
> --- a/sysdeps/x86_64/multiarch/strpbrk-c.c
> +++ b/sysdeps/x86_64/multiarch/strpbrk-c.c
> @@ -1,3 +1,21 @@
> +/* strpbrk with SSE4.2 intrinsics
> +   Copyright (C) 2022 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
> +   The GNU C Library is free software; you can redistribute it and/or
> +   modify it under the terms of the GNU Lesser General Public
> +   License as published by the Free Software Foundation; either
> +   version 2.1 of the License, or (at your option) any later version.
> +
> +   The GNU C Library is distributed in the hope that it will be useful,
> +   but WITHOUT ANY WARRANTY; without even the implied warranty of
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +   Lesser General Public License for more details.
> +
> +   You should have received a copy of the GNU Lesser General Public
> +   License along with the GNU C Library; if not, see
> +   <https://www.gnu.org/licenses/>.  */
> +
>  #define USE_AS_STRPBRK
>  #define STRCSPN_SSE2 __strpbrk_sse2
>  #define STRCSPN_SSE42 __strpbrk_sse42
> --
> 2.34.1
>

Going to push this.
H.J. Lu June 9, 2022, 8:18 p.m. UTC | #2
On Wed, Jun 8, 2022 at 5:28 PM Noah Goldstein <goldstein.w.n@gmail.com> wrote:
>
> ---
>  sysdeps/x86_64/multiarch/strpbrk-c.c | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/sysdeps/x86_64/multiarch/strpbrk-c.c b/sysdeps/x86_64/multiarch/strpbrk-c.c
> index c58dcb5605..abf4ff7f1a 100644
> --- a/sysdeps/x86_64/multiarch/strpbrk-c.c
> +++ b/sysdeps/x86_64/multiarch/strpbrk-c.c
> @@ -1,3 +1,21 @@
> +/* strpbrk with SSE4.2 intrinsics
> +   Copyright (C) 2022 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
> +   The GNU C Library is free software; you can redistribute it and/or
> +   modify it under the terms of the GNU Lesser General Public
> +   License as published by the Free Software Foundation; either
> +   version 2.1 of the License, or (at your option) any later version.
> +
> +   The GNU C Library is distributed in the hope that it will be useful,
> +   but WITHOUT ANY WARRANTY; without even the implied warranty of
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +   Lesser General Public License for more details.
> +
> +   You should have received a copy of the GNU Lesser General Public
> +   License along with the GNU C Library; if not, see
> +   <https://www.gnu.org/licenses/>.  */
> +
>  #define USE_AS_STRPBRK
>  #define STRCSPN_SSE2 __strpbrk_sse2
>  #define STRCSPN_SSE42 __strpbrk_sse42
> --
> 2.34.1
>

LGTM.

Thanks.
diff mbox series

Patch

diff --git a/sysdeps/x86_64/multiarch/strpbrk-c.c b/sysdeps/x86_64/multiarch/strpbrk-c.c
index c58dcb5605..abf4ff7f1a 100644
--- a/sysdeps/x86_64/multiarch/strpbrk-c.c
+++ b/sysdeps/x86_64/multiarch/strpbrk-c.c
@@ -1,3 +1,21 @@ 
+/* strpbrk with SSE4.2 intrinsics
+   Copyright (C) 2022 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
+
 #define USE_AS_STRPBRK
 #define STRCSPN_SSE2 __strpbrk_sse2
 #define STRCSPN_SSE42 __strpbrk_sse42