bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timespec.h


From: Paul Eggert
Subject: Re: timespec.h
Date: Tue, 02 Jan 2007 15:55:47 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> 2007-01-01  Bruno Haible  <address@hidden>
>
>       * modules/settime (Include): Require timespec.h.
>       * modules/nanosleep (Include): Likewise.

Thanks, I installed it.

One thing, though:

>   Include:
> + #include "timespec.h"
> ...
>   Include:
> ! "timespec.h"

Is there any rule for whether the Include: sections' lines should
start with '#include'?

I noticed 34 instances with #include and 276 without, so would it be OK
to remove the "#include" from those 34 instances, for consistency?
Here they are:

alloca:15:#include <alloca.h>
alloca-opt:28:#include <alloca.h>
allocsa:23:#include "allocsa.h"
arpa_inet:29:#include <arpa/inet.h>
canon-host:20:#include "canon-host.h"
eealloc:16:#include <eealloc.h>
fcntl:30:#include <fcntl.h>
gethrxtime:22:#include "xtime.h"
gettime:21:#include "timespec.h"
inttypes:40:#include <inttypes.h>
mbchar:21:#include "mbchar.h"
mbfile:21:#include "mbfile.h"
mbiter:21:#include "mbiter.h"
mbuiter:22:#include "mbuiter.h"
netinet_in:29:#include <netinet/in.h>
pagealign_alloc:24:#include "pagealign_alloc.h"
poll:27:#include <poll.h>
settime:19:#include "timespec.h"
size_max:17:#include "size_max.h"
socklen:16:#include <sys/types.h>
socklen:17:#include <sys/socket.h>
ssize_t:15:#include <sys/types.h>
stdarg:15:#include <stdarg.h>
stdbool:28:#include <stdbool.h>
stdint:57:#include <stdint.h>
sys_select:29:#include <sys/select.h>
sys_socket:29:#include <sys/types.h>
sys_socket:30:#include <sys/socket.h>
sys_stat:31:#include <sys/stat.h>
sysexits:26:#include <sysexits.h>
trim:17:#include "trim.h"
unistd:24:#include <unistd.h>
wctype:33:#include <wctype.h>
xallocsa:18:#include "xallocsa.h"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]