Mercurial > hg > octave-shane > gnulib-hg
changeset 14558:2fecee8e8803
careadlinkat: Use common coding style.
* lib/careadlinkat.c: Move gnulib includes after system includes.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 09 Apr 2011 20:57:21 +0200 |
parents | 1d2daac9948e |
children | 38c2156144b4 |
files | ChangeLog lib/careadlinkat.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-04-09 Bruno Haible <bruno@clisp.org> + + careadlinkat: Use common coding style. + * lib/careadlinkat.c: Move gnulib includes after system includes. + 2011-04-09 Bruno Haible <bruno@clisp.org> careadlinkat: Clarify specification.
--- a/lib/careadlinkat.c +++ b/lib/careadlinkat.c @@ -22,8 +22,6 @@ #include "careadlinkat.h" -#include "allocator.h" - #include <errno.h> #include <limits.h> #include <string.h> @@ -38,6 +36,8 @@ # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) #endif +#include "allocator.h" + #if ! HAVE_READLINKAT /* Ignore FD. Get the symbolic link value of FILENAME and put it into BUFFER, with size BUFFER_SIZE. This function acts like readlink