careadlinkat: stop exporting careadlinkatcwd
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Feb 2013 23:12:36 +0000 (15:12 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Feb 2013 23:30:10 +0000 (15:30 -0800)
commit1f23aedf49ed4c9888882cdc22bb8373d442af27
tree48ec9467bd6ece1c788524a162746123779566e0
parent80173a422eebacdb4f034240a5b33148b1a3d35e
careadlinkat: stop exporting careadlinkatcwd

Only Emacs used it directly, and Emacs no longer needs it.
* NEWS: Document this simplification.
* lib/areadlink.c (careadlinkatcwd): Move here from careadlinkat.c,
and make it static.  Include <stdlib.h>, for abort, and unistd.h,
for readlink.
* lib/careadlinkat.c (careadlinkatcwd): Move to areadlink.c.
Don't include stdlib.h; no longer needed.
* lib/careadlinkat.h (careadlinkatcwd): Remove decl.
* lib/relocwrapper.c: Adjust comment to match new dependencies.
* modules/areadlink (Depends-on): Add readlink.
(Maintainer): Add self.
* modules/careadlinkat (Depends-on): Remove readlink.
ChangeLog
NEWS
lib/areadlink.c
lib/careadlinkat.c
lib/careadlinkat.h
lib/relocwrapper.c
modules/areadlink
modules/careadlinkat