projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
headers: check that _GL_INLINE_HEADER_BEGIN is defined
[gnulib.git]
/
lib
/
memchr2.h
diff --git
a/lib/memchr2.h
b/lib/memchr2.h
index
f5db8b7
..
cc04889
100644
(file)
--- a/
lib/memchr2.h
+++ b/
lib/memchr2.h
@@
-1,5
+1,5
@@
/* Scan memory for the first of two bytes.
/* Scan memory for the first of two bytes.
- Copyright (C) 2008
, 2009, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2008
-2013
Free Software Foundation, Inc.
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
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
@@
-24,7
+24,8
@@
extern "C" {
char) that occurs within N bytes of the memory region S. If
neither byte appears, return NULL. */
char) that occurs within N bytes of the memory region S. If
neither byte appears, return NULL. */
-extern void *memchr2 (void const *s, int c1, int c2, size_t n);
+extern void *memchr2 (void const *s, int c1, int c2, size_t n)
+ _GL_ATTRIBUTE_PURE;
#ifdef __cplusplus
}
#ifdef __cplusplus
}