summaryrefslogtreecommitdiff
path: root/tests/realloc.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2026-03-08 17:28:50 +0100
committerJörg Frings-Fürst <debian@jff.email>2026-03-08 17:28:50 +0100
commitff33e1d252f46bec1a33e28700da3282fc24047a (patch)
tree5c15bc695be820b393a8496c5807ecafbbdeb89b /tests/realloc.c
parentb2ac982cc8b5290699eb5f52fb043d3d15e2624b (diff)
parent5f59a34ab747dde8ede7357f3431bf06bd6002fe (diff)
Update upstream source from tag 'upstream/1.4.2'
Update to upstream version '1.4.2' with Debian dir 493e96bcd865e4f9990e20bee26408c96231d727
Diffstat (limited to 'tests/realloc.c')
-rw-r--r--tests/realloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/realloc.c b/tests/realloc.c
index 62efd5a3..9b35c235 100644
--- a/tests/realloc.c
+++ b/tests/realloc.c
@@ -1,6 +1,6 @@
/* realloc() function that is glibc compatible.
- Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2025 Free Software
+ Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2026 Free Software
Foundation, Inc.
This file is free software: you can redistribute it and/or modify
@@ -20,9 +20,9 @@
/* Ensure that we call the system's realloc() below. */
#define _GL_USE_STDLIB_ALLOC 1
-#include <config.h>
#define _GL_REALLOC_INLINE _GL_EXTERN_INLINE
+#include <config.h>
#include <stdlib.h>
#include <errno.h>
@@ -94,7 +94,7 @@ rpl_realloc (void *p, size_t n)
void *result = realloc (p, n1);
-# if !HAVE_MALLOC_POSIX
+# if !HAVE_REALLOC_POSIX
if (result == NULL)
errno = ENOMEM;
# endif