# HG changeset patch # User Eric Blake # Date 1262214845 25200 # Node ID 88f199a59d30075359083bf7672c8231124d0645 # Parent a734da16f5c4df48fa4e6bb90de163708c3ad6ce unistd: fix typo This typo ended up incompatibly re-defining the macro link() during -DGNULIB_POSIXCHECK=1. However, gcc's pragma system_header squelches that particular warning, so this typo went unnoticed. * lib/unistd.in.h (linkat) [GNULIB_POSIXCHECK]: Fix typo. Signed-off-by: Eric Blake diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-30 Eric Blake + + unistd: fix typo + * lib/unistd.in.h (linkat) [GNULIB_POSIXCHECK]: Fix typo. + 2009-12-30 Bruno Haible Fix compilation error with Solaris cc. diff --git a/lib/unistd.in.h b/lib/unistd.in.h --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -646,7 +646,7 @@ # endif #elif defined GNULIB_POSIXCHECK # undef linkat -# define link(f1,path1,f2,path2,f) \ +# define linkat(f1,path1,f2,path2,f) \ (GL_LINK_WARNING ("linkat is unportable - " \ "use gnulib module linkat for portability"), \ linkat (f1, path1, f2, path2,f))