Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/mopd loop.c owns iflist
details: https://anonhg.NetBSD.org/src/rev/40867b785327
branches: trunk
changeset: 971377:40867b785327
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Apr 22 23:57:56 2020 +0000
description:
loop.c owns iflist
diffstat:
usr.sbin/mopd/mopchk/mopchk.c | 6 +++---
usr.sbin/mopd/mopd/mopd.c | 6 +++---
usr.sbin/mopd/mopprobe/mopprobe.c | 6 +++---
usr.sbin/mopd/moptrace/moptrace.c | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (108 lines):
diff -r b98cbf245ce9 -r 40867b785327 usr.sbin/mopd/mopchk/mopchk.c
--- a/usr.sbin/mopd/mopchk/mopchk.c Wed Apr 22 23:55:29 2020 +0000
+++ b/usr.sbin/mopd/mopchk/mopchk.c Wed Apr 22 23:57:56 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mopchk.c,v 1.14 2016/06/08 01:15:26 christos Exp $ */
+/* $NetBSD: mopchk.c,v 1.15 2020/04/22 23:57:56 joerg Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopchk.c,v 1.14 2016/06/08 01:15:26 christos Exp $");
+__RCSID("$NetBSD: mopchk.c,v 1.15 2020/04/22 23:57:56 joerg Exp $");
#endif
/*
@@ -47,7 +47,7 @@
* The list of all interfaces that are being listened to. rarp_loop()
* "selects" on the descriptors in this list.
*/
-struct if_info *iflist;
+extern struct if_info *iflist;
__dead static void Usage(void);
void mopProcess(struct if_info *, u_char *);
diff -r b98cbf245ce9 -r 40867b785327 usr.sbin/mopd/mopd/mopd.c
--- a/usr.sbin/mopd/mopd/mopd.c Wed Apr 22 23:55:29 2020 +0000
+++ b/usr.sbin/mopd/mopd/mopd.c Wed Apr 22 23:57:56 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mopd.c,v 1.15 2016/06/08 01:11:49 christos Exp $ */
+/* $NetBSD: mopd.c,v 1.16 2020/04/22 23:57:56 joerg Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopd.c,v 1.15 2016/06/08 01:11:49 christos Exp $");
+__RCSID("$NetBSD: mopd.c,v 1.16 2020/04/22 23:57:56 joerg Exp $");
#endif
/*
@@ -51,7 +51,7 @@
* The list of all interfaces that are being listened to.
* "selects" on the descriptors in this list.
*/
-struct if_info *iflist;
+extern struct if_info *iflist;
__dead static void Usage(void);
void mopProcess(struct if_info *, u_char *);
diff -r b98cbf245ce9 -r 40867b785327 usr.sbin/mopd/mopprobe/mopprobe.c
--- a/usr.sbin/mopd/mopprobe/mopprobe.c Wed Apr 22 23:55:29 2020 +0000
+++ b/usr.sbin/mopd/mopprobe/mopprobe.c Wed Apr 22 23:57:56 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mopprobe.c,v 1.13 2016/06/08 01:17:54 christos Exp $ */
+/* $NetBSD: mopprobe.c,v 1.14 2020/04/22 23:57:56 joerg Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopprobe.c,v 1.13 2016/06/08 01:17:54 christos Exp $");
+__RCSID("$NetBSD: mopprobe.c,v 1.14 2020/04/22 23:57:56 joerg Exp $");
#endif
/*
@@ -51,7 +51,7 @@
* The list of all interfaces that are being listened to. rarp_loop()
* "selects" on the descriptors in this list.
*/
-struct if_info *iflist;
+extern struct if_info *iflist;
__dead static void Usage(void);
void mopProcess(struct if_info *, u_char *);
diff -r b98cbf245ce9 -r 40867b785327 usr.sbin/mopd/moptrace/moptrace.c
--- a/usr.sbin/mopd/moptrace/moptrace.c Wed Apr 22 23:55:29 2020 +0000
+++ b/usr.sbin/mopd/moptrace/moptrace.c Wed Apr 22 23:57:56 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: moptrace.c,v 1.12 2016/06/08 01:19:05 christos Exp $ */
+/* $NetBSD: moptrace.c,v 1.13 2020/04/22 23:57:56 joerg Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: moptrace.c,v 1.12 2016/06/08 01:19:05 christos Exp $");
+__RCSID("$NetBSD: moptrace.c,v 1.13 2020/04/22 23:57:56 joerg Exp $");
#endif
/*
@@ -51,7 +51,7 @@
* The list of all interfaces that are being listened to.
* "selects" on the descriptors in this list.
*/
-struct if_info *iflist;
+extern struct if_info *iflist;
__dead static void Usage(void);
void mopProcess(struct if_info *, u_char *);
Home |
Main Index |
Thread Index |
Old Index