]> Savannah Git Hosting - gnulib.git/commitdiff
aligned_alloc: Fix comment.
authorBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 11:09:46 +0000 (12:09 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 11:09:46 +0000 (12:09 +0100)
* m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC): Fix typo in comment.

ChangeLog
m4/aligned_alloc.m4

index e8ad9e1ad0aa7c1ef72295a2c313ce8c2cfe34d0..a6030409971f2f4618a2f0689a4406872d71d5e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-31  Bruno Haible  <bruno@clisp.org>
+
+       aligned_alloc: Fix comment.
+       * m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC): Fix typo in comment.
+
 2024-10-31  Bruno Haible  <bruno@clisp.org>
 
        assert-h: Allow mixed use of gcc/g++ also on Haiku 2022.
index 1311ea3c97439aa8c0c27a3b31c0a328eee39225..2d4a377e19609e14ef62b1dd97c2f0377296499f 100644 (file)
@@ -1,5 +1,5 @@
 # aligned_alloc.m4
-# serial 7
+# serial 8
 dnl Copyright (C) 2020-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -25,7 +25,7 @@ AC_DEFUN([gl_FUNC_ALIGNED_ALLOC],
          [AC_LANG_PROGRAM(
             [[#include <stdlib.h>
               /* Use paligned_alloc to test; 'volatile' prevents the compiler
-                 from optimizing the malloc call away.  */
+                 from optimizing the aligned_alloc call away.  */
               void *(*volatile paligned_alloc) (size_t, size_t)
                 = aligned_alloc;]],
             [[void *p = paligned_alloc (2, 18);