Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
A round at cleaning up headers
Baptiste Daroussin committed 11 years ago
commit 32cd1255dfb27b3772fdc52d0ddf2232915eaf9a
parent 6e2fd8e
9 files changed +3 -31
modified libpkg/backup.c
@@ -1,5 +1,5 @@
/*-
-
 * Copyright (c) 2011-2012 Baptiste Daroussin <bapt@FreeBSD.org>
+
 * Copyright (c) 2011-2014 Baptiste Daroussin <bapt@FreeBSD.org>
 * Copyright (c) 2012 Matthew Seaman <matthew@FreeBSD.org>
 * All rights reserved.
 * 
@@ -25,14 +25,10 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

-
#include <sys/errno.h>
-
#include <sys/file.h>
-
#include <sys/stat.h>
-

#include <assert.h>
#include <libgen.h>
#include <string.h>
-
#include <unistd.h>
+
#include <errno.h>

#include "pkg.h"
#include "private/event.h"
modified libpkg/dns_utils.c
@@ -1,5 +1,5 @@
/*-
-
 * Copyright (c) 2012-2013 Baptiste Daroussin <bapt@FreeBSD.org>
+
 * Copyright (c) 2012-2014 Baptiste Daroussin <bapt@FreeBSD.org>
 * Copyright (c) 2014 Vsevolod Stakhov <vsevolod@FreeBSD.org>
 * All rights reserved.
 *
@@ -29,8 +29,6 @@

#include <sys/stat.h> /* for private.utils.h */

-
#include <stdbool.h> /* for private/utils.h */
-
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#ifdef HAVE_LDNS
modified libpkg/elfhints.c
@@ -27,7 +27,6 @@
 * $FreeBSD: stable/8/sbin/ldconfig/elfhints.c 76224 2001-05-02 23:56:21Z obrien $
 */

-
#include <sys/param.h>
#include <sys/mman.h>
#include <sys/stat.h>

modified libpkg/fetch.c
@@ -29,8 +29,6 @@
#include <sys/param.h>
#include <sys/wait.h>
#include <sys/socket.h>
-
#include <sys/uio.h>
-
#include <sys/time.h>

#include <ctype.h>
#include <fcntl.h>
@@ -38,8 +36,6 @@
#define _WITH_GETLINE
#include <stdio.h>
#include <string.h>
-
#include <time.h>
-
#include <unistd.h>
#include <fetch.h>
#include <paths.h>
#include <poll.h>
modified libpkg/packing.c
@@ -25,8 +25,6 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

-
#include <sys/cdefs.h>
-
#include <sys/stat.h>

#include <archive.h>
#include <archive_entry.h>
@@ -35,7 +33,6 @@
#include <fts.h>
#include <string.h>
#include <sys/mman.h>
-
#include <limits.h>
#include <pwd.h>
#include <grp.h>

modified libpkg/pkg.c
@@ -33,7 +33,6 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
-
#include <stdlib.h>

#include "pkg.h"
#include "private/event.h"
modified libpkg/pkg_add.c
@@ -29,14 +29,10 @@
#include "pkg_config.h"
#endif

-
#include <sys/utsname.h>
-

#include <archive.h>
#include <archive_entry.h>
#include <assert.h>
#include <libgen.h>
-
#include <stdlib.h>
-
#include <stdbool.h>
#include <string.h>
#include <errno.h>

modified libpkg/pkg_attributes.c
@@ -27,7 +27,6 @@
 */

#include <assert.h>
-
#include <stdlib.h>

#include "pkg.h"
#include "private/event.h"
modified libpkg/pkg_audit.c
@@ -26,24 +26,16 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

-
#include <sys/param.h>
-
#include <sys/queue.h>
-
#include <sys/stat.h>
#include <sys/mman.h>

#define _WITH_GETLINE

#include <archive.h>
-
#include <archive.h>
#include <err.h>
-
#include <errno.h>
#include <fcntl.h>
#include <fnmatch.h>
-
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-
#include <unistd.h>
-
#include <sysexits.h>
#include <utlist.h>

#include <expat.h>