summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/bundle.c3
-rw-r--r--usr.sbin/ppp/ppp/ccp.c3
-rw-r--r--usr.sbin/ppp/ppp/command.c3
-rw-r--r--usr.sbin/ppp/ppp/datalink.c3
-rw-r--r--usr.sbin/ppp/ppp/filter.c3
-rw-r--r--usr.sbin/ppp/ppp/hdlc.c3
-rw-r--r--usr.sbin/ppp/ppp/iface.c3
-rw-r--r--usr.sbin/ppp/ppp/ipcp.c3
-rw-r--r--usr.sbin/ppp/ppp/ipv6cp.c4
-rw-r--r--usr.sbin/ppp/ppp/lcp.c3
-rw-r--r--usr.sbin/ppp/ppp/link.c3
-rw-r--r--usr.sbin/ppp/ppp/main.c3
-rw-r--r--usr.sbin/ppp/ppp/mbuf.c3
-rw-r--r--usr.sbin/ppp/ppp/mp.c5
-rw-r--r--usr.sbin/ppp/ppp/nat_cmd.c3
-rw-r--r--usr.sbin/ppp/ppp/ncp.c3
-rw-r--r--usr.sbin/ppp/ppp/physical.c3
-rw-r--r--usr.sbin/ppp/ppp/prompt.h6
-rw-r--r--usr.sbin/ppp/ppp/radius.c3
-rw-r--r--usr.sbin/ppp/ppp/route.c3
-rw-r--r--usr.sbin/ppp/ppp/server.c3
-rw-r--r--usr.sbin/ppp/ppp/slcompress.c3
-rw-r--r--usr.sbin/ppp/ppp/throughput.c3
-rw-r--r--usr.sbin/ppp/ppp/timer.c3
24 files changed, 51 insertions, 27 deletions
diff --git a/usr.sbin/ppp/ppp/bundle.c b/usr.sbin/ppp/ppp/bundle.c
index 5dfadc58f48..1d99354c19c 100644
--- a/usr.sbin/ppp/ppp/bundle.c
+++ b/usr.sbin/ppp/ppp/bundle.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: bundle.c,v 1.69 2004/01/28 01:35:16 kevlo Exp $
+ * $OpenBSD: bundle.c,v 1.70 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -44,6 +44,7 @@
#include <libutil.h>
#endif
#include <paths.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/ccp.c b/usr.sbin/ppp/ppp/ccp.c
index 2265ecba5d2..ee82d28f28c 100644
--- a/usr.sbin/ppp/ppp/ccp.c
+++ b/usr.sbin/ppp/ppp/ccp.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: ccp.c,v 1.31 2005/07/06 13:56:00 brad Exp $
+ * $OpenBSD: ccp.c,v 1.32 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -35,6 +35,7 @@
#include <sys/socket.h>
#include <sys/un.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* memcpy() on some archs */
diff --git a/usr.sbin/ppp/ppp/command.c b/usr.sbin/ppp/ppp/command.c
index 7f11da8a6a6..d93d287be91 100644
--- a/usr.sbin/ppp/ppp/command.c
+++ b/usr.sbin/ppp/ppp/command.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: command.c,v 1.85 2005/07/17 07:33:22 brad Exp $
+ * $OpenBSD: command.c,v 1.86 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -42,6 +42,7 @@
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/datalink.c b/usr.sbin/ppp/ppp/datalink.c
index 299fd5a6ffa..bb6f6c67c16 100644
--- a/usr.sbin/ppp/ppp/datalink.c
+++ b/usr.sbin/ppp/ppp/datalink.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: datalink.c,v 1.44 2005/07/06 13:56:00 brad Exp $
+ * $OpenBSD: datalink.c,v 1.45 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -34,6 +34,7 @@
#include <sys/un.h>
#include <ctype.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/filter.c b/usr.sbin/ppp/ppp/filter.c
index f11f0e4484f..da06b1bc0e5 100644
--- a/usr.sbin/ppp/ppp/filter.c
+++ b/usr.sbin/ppp/ppp/filter.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: filter.c,v 1.21 2002/05/16 01:13:39 brian Exp $
+ * $OpenBSD: filter.c,v 1.22 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -36,6 +36,7 @@
#include <sys/socket.h>
#include <sys/un.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/hdlc.c b/usr.sbin/ppp/ppp/hdlc.c
index 6feb992b51d..cd75dd8d133 100644
--- a/usr.sbin/ppp/ppp/hdlc.c
+++ b/usr.sbin/ppp/ppp/hdlc.c
@@ -25,12 +25,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: hdlc.c,v 1.14 2004/11/16 14:47:02 brad Exp $
+ * $OpenBSD: hdlc.c,v 1.15 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
#include <sys/un.h>
+#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <termios.h>
diff --git a/usr.sbin/ppp/ppp/iface.c b/usr.sbin/ppp/ppp/iface.c
index 92c02d2c74a..d56afb5ae88 100644
--- a/usr.sbin/ppp/ppp/iface.c
+++ b/usr.sbin/ppp/ppp/iface.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: iface.c,v 1.26 2004/11/23 15:55:21 brad Exp $
+ * $OpenBSD: iface.c,v 1.27 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -45,6 +45,7 @@
#include <errno.h>
#include <string.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
diff --git a/usr.sbin/ppp/ppp/ipcp.c b/usr.sbin/ppp/ppp/ipcp.c
index f6c3db63f25..6463c44c28e 100644
--- a/usr.sbin/ppp/ppp/ipcp.c
+++ b/usr.sbin/ppp/ppp/ipcp.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: ipcp.c,v 1.40 2005/07/12 01:47:21 brad Exp $
+ * $OpenBSD: ipcp.c,v 1.41 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -42,6 +42,7 @@
#include <errno.h>
#include <fcntl.h>
#include <resolv.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
diff --git a/usr.sbin/ppp/ppp/ipv6cp.c b/usr.sbin/ppp/ppp/ipv6cp.c
index 78b2d8a3fc8..5b2ca57cf0c 100644
--- a/usr.sbin/ppp/ppp/ipv6cp.c
+++ b/usr.sbin/ppp/ppp/ipv6cp.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: ipv6cp.c,v 1.3 2004/11/23 15:55:21 brad Exp $
+ * $OpenBSD: ipv6cp.c,v 1.4 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -35,6 +35,7 @@
#include <net/if.h>
#include <sys/un.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -74,6 +75,7 @@
#include "async.h"
#include "physical.h"
#include "probe.h"
+#include "systems.h"
#ifndef NOINET6
diff --git a/usr.sbin/ppp/ppp/lcp.c b/usr.sbin/ppp/ppp/lcp.c
index 5fe76a38d6c..d06b60500e9 100644
--- a/usr.sbin/ppp/ppp/lcp.c
+++ b/usr.sbin/ppp/ppp/lcp.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: lcp.c,v 1.40 2005/07/17 07:33:22 brad Exp $
+ * $OpenBSD: lcp.c,v 1.41 2005/07/17 19:13:24 brad Exp $
*/
#include <sys/param.h>
@@ -36,6 +36,7 @@
#include <sys/un.h>
#include <signal.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/link.c b/usr.sbin/ppp/ppp/link.c
index 7f6d6c5977f..e71e08e22a6 100644
--- a/usr.sbin/ppp/ppp/link.c
+++ b/usr.sbin/ppp/ppp/link.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: link.c,v 1.14 2004/11/16 14:47:02 brad Exp $
+ * $OpenBSD: link.c,v 1.15 2005/07/17 19:13:24 brad Exp $
*
*/
@@ -34,6 +34,7 @@
#include <netinet/in.h>
#include <netinet/ip.h>
+#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <termios.h>
diff --git a/usr.sbin/ppp/ppp/main.c b/usr.sbin/ppp/ppp/main.c
index 31e74b15c26..6971b5d2ea4 100644
--- a/usr.sbin/ppp/ppp/main.c
+++ b/usr.sbin/ppp/ppp/main.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: main.c,v 1.34 2002/06/28 09:34:24 brian Exp $
+ * $OpenBSD: main.c,v 1.35 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -40,6 +40,7 @@
#include <fcntl.h>
#include <paths.h>
#include <signal.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/mbuf.c b/usr.sbin/ppp/ppp/mbuf.c
index 7c00cfa08c7..ca12508c713 100644
--- a/usr.sbin/ppp/ppp/mbuf.c
+++ b/usr.sbin/ppp/ppp/mbuf.c
@@ -25,11 +25,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: mbuf.c,v 1.17 2005/07/12 02:47:19 brad Exp $
+ * $OpenBSD: mbuf.c,v 1.18 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/types.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/mp.c b/usr.sbin/ppp/ppp/mp.c
index 097f4ace46b..d77ea7504cb 100644
--- a/usr.sbin/ppp/ppp/mp.c
+++ b/usr.sbin/ppp/ppp/mp.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: mp.c,v 1.33 2005/04/22 03:27:28 cloder Exp $
+ * $OpenBSD: mp.c,v 1.34 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -37,8 +37,9 @@
#include <errno.h>
#include <paths.h>
-#include <stdlib.h>
+#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <termios.h>
diff --git a/usr.sbin/ppp/ppp/nat_cmd.c b/usr.sbin/ppp/ppp/nat_cmd.c
index cfcb2e23e64..dc584ade7b5 100644
--- a/usr.sbin/ppp/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/ppp/nat_cmd.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: nat_cmd.c,v 1.24 2005/07/06 13:56:00 brad Exp $
+ * $OpenBSD: nat_cmd.c,v 1.25 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -37,6 +37,7 @@
#include <sys/socket.h>
#include <sys/un.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/ncp.c b/usr.sbin/ppp/ppp/ncp.c
index 8c26360d7f8..e846afcc334 100644
--- a/usr.sbin/ppp/ppp/ncp.c
+++ b/usr.sbin/ppp/ppp/ncp.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: ncp.c,v 1.3 2005/07/06 20:37:27 brad Exp $
+ * $OpenBSD: ncp.c,v 1.4 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -36,6 +36,7 @@
#include <errno.h>
#include <resolv.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
diff --git a/usr.sbin/ppp/ppp/physical.c b/usr.sbin/ppp/ppp/physical.c
index 9b4d85eb149..045eb6a4000 100644
--- a/usr.sbin/ppp/ppp/physical.c
+++ b/usr.sbin/ppp/ppp/physical.c
@@ -16,7 +16,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $OpenBSD: physical.c,v 1.37 2005/07/06 13:56:00 brad Exp $
+ * $OpenBSD: physical.c,v 1.38 2005/07/17 19:13:25 brad Exp $
*
*/
@@ -30,6 +30,7 @@
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/prompt.h b/usr.sbin/ppp/ppp/prompt.h
index cd29138afb1..b6d46977186 100644
--- a/usr.sbin/ppp/ppp/prompt.h
+++ b/usr.sbin/ppp/ppp/prompt.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: prompt.h,v 1.5 2001/08/02 20:53:00 brian Exp $
+ * $OpenBSD: prompt.h,v 1.6 2005/07/17 19:13:25 brad Exp $
*/
#define LOCAL_AUTH 0x01
@@ -76,10 +76,10 @@ extern void prompt_Printf(struct prompt *, const char *, ...)
extern void prompt_Printf(struct prompt *, const char *, ...);
#endif
#ifdef __GNUC__
-extern void prompt_vPrintf(struct prompt *, const char *, _BSD_VA_LIST_)
+extern void prompt_vPrintf(struct prompt *, const char *, va_list)
__attribute__ ((format (printf, 2, 0)));
#else
-extern void prompt_vPrintf(struct prompt *, const char *, _BSD_VA_LIST_);
+extern void prompt_vPrintf(struct prompt *, const char *, va_list);
#endif
#define PROMPT_DONT_WANT_INT 1
#define PROMPT_WANT_INT 0
diff --git a/usr.sbin/ppp/ppp/radius.c b/usr.sbin/ppp/ppp/radius.c
index 881011497ef..ac98f3ccd35 100644
--- a/usr.sbin/ppp/ppp/radius.c
+++ b/usr.sbin/ppp/ppp/radius.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: radius.c,v 1.25 2005/07/06 13:56:00 brad Exp $
+ * $OpenBSD: radius.c,v 1.26 2005/07/17 19:13:25 brad Exp $
*
*/
@@ -49,6 +49,7 @@
#ifndef NODES
#include <md5.h>
#endif
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/route.c b/usr.sbin/ppp/ppp/route.c
index 025e129fe3d..8b2fce9dc41 100644
--- a/usr.sbin/ppp/ppp/route.c
+++ b/usr.sbin/ppp/ppp/route.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: route.c,v 1.32 2005/07/17 18:34:09 brad Exp $
+ * $OpenBSD: route.c,v 1.33 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -41,6 +41,7 @@
#include <sys/un.h>
#include <errno.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/server.c b/usr.sbin/ppp/ppp/server.c
index ef88d342c20..a78478a106f 100644
--- a/usr.sbin/ppp/ppp/server.c
+++ b/usr.sbin/ppp/ppp/server.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: server.c,v 1.16 2003/04/04 20:25:06 deraadt Exp $
+ * $OpenBSD: server.c,v 1.17 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -33,6 +33,7 @@
#include <sys/un.h>
#include <errno.h>
+#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
diff --git a/usr.sbin/ppp/ppp/slcompress.c b/usr.sbin/ppp/ppp/slcompress.c
index ffea072bdaa..ad4d4227333 100644
--- a/usr.sbin/ppp/ppp/slcompress.c
+++ b/usr.sbin/ppp/ppp/slcompress.c
@@ -36,7 +36,7 @@
* Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989:
* - Initial distribution.
*
- * $OpenBSD: slcompress.c,v 1.18 2005/03/06 17:36:31 cloder Exp $
+ * $OpenBSD: slcompress.c,v 1.19 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/param.h>
@@ -47,6 +47,7 @@
#include <sys/socket.h>
#include <sys/un.h>
+#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <termios.h>
diff --git a/usr.sbin/ppp/ppp/throughput.c b/usr.sbin/ppp/ppp/throughput.c
index 69211883c4c..54cf75adb2a 100644
--- a/usr.sbin/ppp/ppp/throughput.c
+++ b/usr.sbin/ppp/ppp/throughput.c
@@ -23,11 +23,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: throughput.c,v 1.11 2002/06/15 08:02:01 brian Exp $
+ * $OpenBSD: throughput.c,v 1.12 2005/07/17 19:13:25 brad Exp $
*/
#include <sys/types.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr.sbin/ppp/ppp/timer.c b/usr.sbin/ppp/ppp/timer.c
index 874161c381d..acc6d3f9a4e 100644
--- a/usr.sbin/ppp/ppp/timer.c
+++ b/usr.sbin/ppp/ppp/timer.c
@@ -25,11 +25,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: timer.c,v 1.13 2002/06/15 08:02:01 brian Exp $
+ * $OpenBSD: timer.c,v 1.14 2005/07/17 19:13:25 brad Exp $
*/
#include <errno.h>
#include <signal.h>
+#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>