diff options
author | Bruno Haible <bruno@clisp.org> | 2010-09-29 01:00:17 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-09-29 01:00:17 +0200 |
commit | 11f1d3a976a737eb6ca30cf89e8b47c85bfe3d47 (patch) | |
tree | 2750fb1776792f916f4dcdb9ac73d360bca0764a /tests | |
parent | 532d19ed682a2fcc68f97fc63c63e0a514f851d5 (diff) | |
download | gnulib-11f1d3a976a737eb6ca30cf89e8b47c85bfe3d47.tar.gz |
New module 'poll-h'.
* lib/poll.in.h: Include c++defs.h and warn-on-use.h.
(poll): Use modern idiom.
* modules/poll-h: New file.
* modules/poll (Files): Remove lib/poll.in.h.
(Depends-on): Add poll-h.
(configure.ac): Invoke gl_POLL_MODULE_INDICATOR.
(Makefile.am): Move code for generation of poll.h to modules/poll-h.
* m4/poll_h.m4: New file.
* m4/poll.m4 (gl_FUNC_POLL): Require gl_POLL_H. Don't check for poll.h
here. Don't set POLL_H here. Instead, set HAVE_POLL and REPLACE_POLL
and invoke gl_REPLACE_POLL_H.
* lib/poll.c: Use common idiom.
* tests/test-poll.c: Likewise.
* doc/posix-headers/poll.texi: Mention the poll-h module.
Suggested by Eric Blake.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-poll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-poll.c b/tests/test-poll.c index 7488090077..9abe28c96c 100644 --- a/tests/test-poll.c +++ b/tests/test-poll.c @@ -19,6 +19,7 @@ #include <config.h> +/* Specification. */ #include <poll.h> #include "signature.h" |