diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-10-04 13:33:49 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-10-04 13:33:49 +0000 |
commit | 73d3a7a395e124cbe61072a84cde355fef6060f9 (patch) | |
tree | 9da6a06e6a900fdc414d6c104d95d66d97d0a7c2 /lib/memmem.c | |
parent | f8d75d127a62346efbf29837e02386d3eeed5a10 (diff) | |
download | gnulib-73d3a7a395e124cbe61072a84cde355fef6060f9.tar.gz |
Sync with glibc.
Diffstat (limited to 'lib/memmem.c')
-rw-r--r-- | lib/memmem.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/memmem.c b/lib/memmem.c index 7a6e116fc4..04e384cf1d 100644 --- a/lib/memmem.c +++ b/lib/memmem.c @@ -1,26 +1,25 @@ /* Copyright (C) 1991,92,93,94,96,97,98,2000,2004 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. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. - The GNU C Library is distributed in the hope that it will be useful, + This program 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. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU 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, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <stddef.h> #include <string.h> #ifndef _LIBC -# define __builtin_expect(expr, val) (expr) +# define __builtin_expect(expr, val) (expr) #endif #undef memmem |