]> Savannah Git Hosting - gnulib.git/commitdiff
canonicalize-lgpl: remove freea macro
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 24 Dec 2020 19:38:48 +0000 (11:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 24 Dec 2020 20:06:48 +0000 (12:06 -0800)
* lib/canonicalize-lgpl.c (freea) [_LIBC]: Remove; not needed.

ChangeLog
lib/canonicalize-lgpl.c

index 714f49354be0e86d252d1eb725e110e87e44d943..b0cad381a149949435e01f71b247c59ae0a10c66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2020-12-24  Paul Eggert  <eggert@cs.ucla.edu>
 
+       canonicalize-lgpl: remove freea macro
+       * lib/canonicalize-lgpl.c (freea) [_LIBC]: Remove; not needed.
+
        canonicalize, canonicalize-lgpl: fix symlink bug
        Problem reported by Adhemerval Zanella in:
        https://lists.gnu.org/r/bug-gnulib/2020-12/msg00155.html
index e4aba0e98c2c10f830911dcfd2687cd2031c4377..431dc5a3bade09bd21254cd15fa80b384e13a34d 100644 (file)
@@ -46,7 +46,6 @@ typedef ptrdiff_t idx_t;
 # define FILE_SYSTEM_PREFIX_LEN(name) 0
 # define IS_ABSOLUTE_FILE_NAME(name) ISSLASH(*(name))
 # define ISSLASH(c) ((c) == '/')
-# define freea(p) ((void) (p))
 #else
 # define __canonicalize_file_name canonicalize_file_name
 # define __realpath realpath