aboutsummaryrefslogtreecommitdiff
path: root/src/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/compat.h')
-rw-r--r--src/include/compat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/compat.h b/src/include/compat.h
index b24d09653..1a1103a81 100644
--- a/src/include/compat.h
+++ b/src/include/compat.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @author Martin Schanzenbach 22 * @author Martin Schanzenbach
@@ -33,7 +33,7 @@ extern "C"
33{ 33{
34#endif 34#endif
35 35
36 /** 36/**
37 * memrchr as defined in glibc 37 * memrchr as defined in glibc
38 * 38 *
39 * @param s pointer to memory 39 * @param s pointer to memory
@@ -41,11 +41,11 @@ extern "C"
41 * @param n search character limit 41 * @param n search character limit
42 */ 42 */
43void* 43void*
44GN_memrchr_ (const void *s, 44GN_memrchr_(const void *s,
45 int c, 45 int c,
46 size_t n); 46 size_t n);
47#ifndef HAVE_MEMRCHR 47#ifndef HAVE_MEMRCHR
48#define memrchr(s,c,n) GN_memrchr_(s,c,n) 48#define memrchr(s, c, n) GN_memrchr_(s, c, n)
49#endif 49#endif
50 50
51#ifdef __cplusplus 51#ifdef __cplusplus