Remove redundant guard.

This commit is contained in:
Giuseppe Scrivano 2010-12-01 13:15:13 +01:00
parent 334a8e9027
commit 9ae052b1e2
19 changed files with 38 additions and 54 deletions

View File

@ -1,5 +1,25 @@
2010-12-01 Giuseppe Scrivano <gscrivano@gnu.org>
* cmpt.c: Include <unistd.h> inconditionally.
* connect.c: Likewise.
* convert.c: Likewise.
* ftp-basic.c: Likewise.
* ftp-ls.c: Likewise.
* ftp.c: Likewise.
* gnutls.c: Likewise.
* http.c: Likewise.
* init.c: Likewise.
* log.c: Likewise.
* main.c: Likewise.
* openssl.c: Likewise.
* progress.c: Likewise.
* ptimer.c: Likewise.
* recur.c: Likewise.
* retr.c: Likewise.
* url.c: Likewise.
* utils.c: Likewise.
* retr.c (fd_read_body): Dinamically allocate `dlbuf'.
2010-11-27 Reza Snowdon <vivi@mage.me.uk>

View File

@ -36,9 +36,7 @@ as that of the covered work. */
#include <string.h>
#include <time.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <errno.h>

View File

@ -32,9 +32,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <assert.h>
#include <sys/socket.h>

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#include <unistd.h>
#include <errno.h>
#include <assert.h>
#include "convert.h"

View File

@ -36,9 +36,7 @@ as that of the covered work. */
#include <errno.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include "utils.h"
#include "connect.h"
#include "host.h"

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <errno.h>
#include <time.h>
#include "utils.h"

View File

@ -34,9 +34,7 @@ as that of the covered work. */
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <time.h>

View File

@ -32,9 +32,7 @@ as that of the covered work. */
#include <assert.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <dirent.h>

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <time.h>

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <limits.h>

View File

@ -34,9 +34,7 @@ as that of the covered work. */
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <assert.h>
#include <errno.h>

View File

@ -32,9 +32,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#include <unistd.h>
#include <string.h>
#include <signal.h>
#ifdef ENABLE_NLS

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <assert.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <string.h>
#include <openssl/ssl.h>

View File

@ -34,9 +34,7 @@ as that of the covered work. */
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <signal.h>
#ifdef HAVE_WCHAR_H
# include <wchar.h>

View File

@ -57,9 +57,7 @@ as that of the covered work. */
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <time.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#include <unistd.h>
#include <errno.h>
#include <assert.h>

View File

@ -32,9 +32,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <assert.h>

View File

@ -33,9 +33,7 @@ as that of the covered work. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <errno.h>
#include <assert.h>

View File

@ -37,9 +37,7 @@ as that of the covered work. */
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifdef HAVE_MMAP
# include <sys/mman.h>
#endif