summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-12-30 23:09:58 +0000
committerguenther <guenther@openbsd.org>2018-12-30 23:09:58 +0000
commitef80df5ce8e485ab59324a3f1550e0f35ab9379a (patch)
tree8a140ead32e38426ac47bef6afb3a077c1c3f2af
parentTurn on -mretpoline by default in clang on amd64, but turn it off (diff)
downloadwireguard-openbsd-ef80df5ce8e485ab59324a3f1550e0f35ab9379a.tar.xz
wireguard-openbsd-ef80df5ce8e485ab59324a3f1550e0f35ab9379a.zip
Delete unnecessary <libgen.h> #includes
ok deraadt@
-rw-r--r--bin/ksh/edit.c3
-rw-r--r--usr.bin/cvs/commit.c3
-rw-r--r--usr.bin/less/less.h1
-rw-r--r--usr.bin/mg/dired.c3
-rw-r--r--usr.bin/mg/grep.c3
-rw-r--r--usr.bin/patch/util.c3
-rw-r--r--usr.bin/rcs/rcs.c3
-rw-r--r--usr.sbin/npppd/npppd/npppd.c5
-rw-r--r--usr.sbin/smtpd/envelope.c3
-rw-r--r--usr.sbin/smtpd/queue.c3
-rw-r--r--usr.sbin/smtpd/queue_backend.c3
-rw-r--r--usr.sbin/smtpd/queue_fs.c3
-rw-r--r--usr.sbin/smtpd/queue_null.c3
-rw-r--r--usr.sbin/smtpd/queue_proc.c3
-rw-r--r--usr.sbin/smtpd/queue_ram.c3
-rw-r--r--usr.sbin/smtpd/scheduler.c3
-rw-r--r--usr.sbin/smtpd/to.c3
17 files changed, 17 insertions, 34 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c
index bbb1b3aeb8f..2245e0e2049 100644
--- a/bin/ksh/edit.c
+++ b/bin/ksh/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.66 2018/06/18 17:03:58 millert Exp $ */
+/* $OpenBSD: edit.c,v 1.67 2018/12/30 23:09:58 guenther Exp $ */
/*
* Command line editing - common code
@@ -12,7 +12,6 @@
#include <ctype.h>
#include <errno.h>
-#include <libgen.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c
index c2b39832062..c1523e442f3 100644
--- a/usr.bin/cvs/commit.c
+++ b/usr.bin/cvs/commit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commit.c,v 1.158 2017/06/01 08:08:24 joris Exp $ */
+/* $OpenBSD: commit.c,v 1.159 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -20,7 +20,6 @@
#include <errno.h>
#include <fcntl.h>
-#include <libgen.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/usr.bin/less/less.h b/usr.bin/less/less.h
index a7fe3220534..a3a389b52af 100644
--- a/usr.bin/less/less.h
+++ b/usr.bin/less/less.h
@@ -19,7 +19,6 @@
#include <ctype.h>
#include <fcntl.h>
-#include <libgen.h>
#include <limits.h>
#include <signal.h>
#include <stdio.h>
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c
index dde2d59adec..954438fd2e4 100644
--- a/usr.bin/mg/dired.c
+++ b/usr.bin/mg/dired.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dired.c,v 1.83 2016/10/07 00:17:20 jsg Exp $ */
+/* $OpenBSD: dired.c,v 1.84 2018/12/30 23:09:58 guenther Exp $ */
/* This file is in the public domain. */
@@ -16,7 +16,6 @@
#include <err.h>
#include <errno.h>
#include <fcntl.h>
-#include <libgen.h>
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c
index d2c257f5ae4..c3e874a6bcb 100644
--- a/usr.bin/mg/grep.c
+++ b/usr.bin/mg/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.46 2018/01/09 17:59:29 cheloha Exp $ */
+/* $OpenBSD: grep.c,v 1.47 2018/12/30 23:09:58 guenther Exp $ */
/* This file is in the public domain */
@@ -7,7 +7,6 @@
#include <sys/wait.h>
#include <ctype.h>
-#include <libgen.h>
#include <limits.h>
#include <signal.h>
#include <stdio.h>
diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c
index b49fa2282de..9884ff87020 100644
--- a/usr.bin/patch/util.c
+++ b/usr.bin/patch/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.41 2018/04/07 14:55:13 anton Exp $ */
+/* $OpenBSD: util.c,v 1.42 2018/12/30 23:09:58 guenther Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -31,7 +31,6 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
-#include <libgen.h>
#include <paths.h>
#include <signal.h>
#include <stdarg.h>
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index b9a44105744..403e2c2f3bc 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.85 2016/05/09 13:03:55 schwarze Exp $ */
+/* $OpenBSD: rcs.c,v 1.86 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -30,7 +30,6 @@
#include <ctype.h>
#include <err.h>
#include <errno.h>
-#include <libgen.h>
#include <pwd.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/usr.sbin/npppd/npppd/npppd.c b/usr.sbin/npppd/npppd/npppd.c
index a60c3bc8f01..b580af0028a 100644
--- a/usr.sbin/npppd/npppd/npppd.c
+++ b/usr.sbin/npppd/npppd/npppd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npppd.c,v 1.48 2018/07/25 02:18:36 yasuoka Exp $ */
+/* $OpenBSD: npppd.c,v 1.49 2018/12/30 23:09:58 guenther Exp $ */
/*-
* Copyright (c) 2005-2008,2009 Internet Initiative Japan Inc.
@@ -29,7 +29,7 @@
* Next pppd(nppd). This file provides a npppd daemon process and operations
* for npppd instance.
* @author Yasuoka Masahiko
- * $Id: npppd.c,v 1.48 2018/07/25 02:18:36 yasuoka Exp $
+ * $Id: npppd.c,v 1.49 2018/12/30 23:09:58 guenther Exp $
*/
#include "version.h"
#include <sys/param.h> /* ALIGNED_POINTER */
@@ -50,7 +50,6 @@
#include <stdio.h>
#include <signal.h>
#include <netdb.h>
-#include <libgen.h>
#include <fcntl.h>
#include <event.h>
#include <errno.h>
diff --git a/usr.sbin/smtpd/envelope.c b/usr.sbin/smtpd/envelope.c
index 471fade2876..cd247a82c08 100644
--- a/usr.sbin/smtpd/envelope.c
+++ b/usr.sbin/smtpd/envelope.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: envelope.c,v 1.41 2018/12/27 15:41:50 gilles Exp $ */
+/* $OpenBSD: envelope.c,v 1.42 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -33,7 +33,6 @@
#include <fcntl.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <limits.h>
#include <stdio.h>
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index 489069eca03..8380c7b5ea5 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.188 2018/12/08 08:01:15 sunil Exp $ */
+/* $OpenBSD: queue.c,v 1.189 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -28,7 +28,6 @@
#include <event.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
diff --git a/usr.sbin/smtpd/queue_backend.c b/usr.sbin/smtpd/queue_backend.c
index 4337051e229..5e7c38fa712 100644
--- a/usr.sbin/smtpd/queue_backend.c
+++ b/usr.sbin/smtpd/queue_backend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_backend.c,v 1.64 2018/05/31 21:06:12 gilles Exp $ */
+/* $OpenBSD: queue_backend.c,v 1.65 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -31,7 +31,6 @@
#include <imsg.h>
#include <limits.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/smtpd/queue_fs.c b/usr.sbin/smtpd/queue_fs.c
index 5960663f616..ecbc53a8647 100644
--- a/usr.sbin/smtpd/queue_fs.c
+++ b/usr.sbin/smtpd/queue_fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fs.c,v 1.17 2018/05/31 21:06:12 gilles Exp $ */
+/* $OpenBSD: queue_fs.c,v 1.18 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -32,7 +32,6 @@
#include <fts.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/smtpd/queue_null.c b/usr.sbin/smtpd/queue_null.c
index c555e41d478..d92f98a74e0 100644
--- a/usr.sbin/smtpd/queue_null.c
+++ b/usr.sbin/smtpd/queue_null.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_null.c,v 1.7 2018/05/14 15:23:05 gilles Exp $ */
+/* $OpenBSD: queue_null.c,v 1.8 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
@@ -29,7 +29,6 @@
#include <fcntl.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/smtpd/queue_proc.c b/usr.sbin/smtpd/queue_proc.c
index 2c4beb4cc77..753271c1781 100644
--- a/usr.sbin/smtpd/queue_proc.c
+++ b/usr.sbin/smtpd/queue_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_proc.c,v 1.7 2018/05/14 15:23:05 gilles Exp $ */
+/* $OpenBSD: queue_proc.c,v 1.8 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -28,7 +28,6 @@
#include <fcntl.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/smtpd/queue_ram.c b/usr.sbin/smtpd/queue_ram.c
index 81689f7b7f0..56b9fa5b30f 100644
--- a/usr.sbin/smtpd/queue_ram.c
+++ b/usr.sbin/smtpd/queue_ram.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_ram.c,v 1.8 2018/05/14 15:23:05 gilles Exp $ */
+/* $OpenBSD: queue_ram.c,v 1.9 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
@@ -29,7 +29,6 @@
#include <fcntl.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/smtpd/scheduler.c b/usr.sbin/smtpd/scheduler.c
index de21342ee4c..b3bda1754b5 100644
--- a/usr.sbin/smtpd/scheduler.c
+++ b/usr.sbin/smtpd/scheduler.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scheduler.c,v 1.59 2018/12/08 08:01:15 sunil Exp $ */
+/* $OpenBSD: scheduler.c,v 1.60 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -32,7 +32,6 @@
#include <event.h>
#include <imsg.h>
#include <inttypes.h>
-#include <libgen.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
diff --git a/usr.sbin/smtpd/to.c b/usr.sbin/smtpd/to.c
index f4e1149a558..6f8592dcc20 100644
--- a/usr.sbin/smtpd/to.c
+++ b/usr.sbin/smtpd/to.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: to.c,v 1.34 2018/10/31 15:14:21 gilles Exp $ */
+/* $OpenBSD: to.c,v 1.35 2018/12/30 23:09:58 guenther Exp $ */
/*
* Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
@@ -36,7 +36,6 @@
#include <imsg.h>
#include <limits.h>
#include <inttypes.h>
-#include <libgen.h>
#include <netdb.h>
#include <pwd.h>
#include <stdarg.h>