diff options
author | Jim Meyering <meyering@redhat.com> | 2008-01-25 21:52:02 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-01-25 21:52:02 +0100 |
commit | f026d2bb5910ad9ed34123f4df7d921226dc39cd (patch) | |
tree | d26caa03f905cd6c36312546e115081b7db97bde | |
parent | 249ccd48463b7e7988b5ff5efaaa8e42ca66e116 (diff) | |
download | gnulib-f026d2bb5910ad9ed34123f4df7d921226dc39cd.tar.gz |
Prefer <config.h> over "config.h". See autoconf doc for explanation.
* lib/poll.c: Include <config.h>, not "config.h".
* tests/test-getaddrinfo.c: Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/poll.c | 6 | ||||
-rw-r--r-- | tests/test-getaddrinfo.c | 4 |
3 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2008-01-25 Jim Meyering <meyering@redhat.com> + + Prefer <config.h> over "config.h". See autoconf doc for explanation. + * lib/poll.c: Include <config.h>, not "config.h". + * tests/test-getaddrinfo.c: Likewise. + 2008-01-25 Simon Josefsson <simon@josefsson.org> * modules/sockets-tests: New file. diff --git a/lib/poll.c b/lib/poll.c index ed81dbaafb..50a0803bd9 100644 --- a/lib/poll.c +++ b/lib/poll.c @@ -1,7 +1,7 @@ /* Emulation for poll(2) Contributed by Paolo Bonzini. - Copyright 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of gnulib. @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "config.h" +#include <config.h> #include <sys/types.h> #include "poll.h" @@ -132,7 +132,7 @@ poll (pfd, nfd, timeout) maxfd = pfd[i].fd; /* Windows use a linear array of sockets (of size FD_SETSIZE). The - descriptor value is not used to address the array. */ + descriptor value is not used to address the array. */ #if defined __CYGWIN__ || (!defined _WIN32 && !defined __WIN32__) if (maxfd > FD_SETSIZE) { diff --git a/tests/test-getaddrinfo.c b/tests/test-getaddrinfo.c index 7763f43f6c..00a980b1bd 100644 --- a/tests/test-getaddrinfo.c +++ b/tests/test-getaddrinfo.c @@ -1,6 +1,6 @@ /* Test the getaddrinfo module. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ /* Written by Simon Josefsson. */ -#include "config.h" +#include <config.h> #include "getaddrinfo.h" #include "inet_ntop.h" #include <stdio.h> |