X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstreq.h;h=87915988f6bc52983441515520964d07882e228e;hb=1bce9152c7fa70ba4408e43c758900df25f9a775;hp=133a5d35190b9d8c02134c51e5dad70eea406dd5;hpb=8bd92558019cbbe307f3340f33e3ebb6bd27fae6;p=gnulib.git
diff --git a/lib/streq.h b/lib/streq.h
index 133a5d351..87915988f 100644
--- a/lib/streq.h
+++ b/lib/streq.h
@@ -1,23 +1,24 @@
/* Optimized string comparison.
- Copyright (C) 2001-2002, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002, 2007, 2009-2010 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU Library General Public License as published
- by the Free Software Foundation; either version 2, 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 Lesser General Public License as published
+ by the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
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
- Library General Public License for more details.
+ Lesser General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- USA. */
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see . */
/* Written by Bruno Haible . */
+#ifndef _GL_STREQ_H
+#define _GL_STREQ_H
+
#include
/* STREQ allows to optimize string comparison with a small literal string.
@@ -171,3 +172,5 @@ streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23,
(strcmp (s1, s2) == 0)
#endif
+
+#endif /* _GL_STREQ_H */