Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/mopd/common Let loop.c own iflist
details: https://anonhg.NetBSD.org/src/rev/6e205820cf98
branches: trunk
changeset: 1009411:6e205820cf98
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Apr 22 23:55:29 2020 +0000
description:
Let loop.c own iflist
diffstat:
usr.sbin/mopd/common/loop-bsd.c | 6 +++---
usr.sbin/mopd/common/loop-linux2.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 48a0de8f46e3 -r 6e205820cf98 usr.sbin/mopd/common/loop-bsd.c
--- a/usr.sbin/mopd/common/loop-bsd.c Wed Apr 22 23:54:32 2020 +0000
+++ b/usr.sbin/mopd/common/loop-bsd.c Wed Apr 22 23:55:29 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loop-bsd.c,v 1.12 2016/06/08 01:11:49 christos Exp $ */
+/* $NetBSD: loop-bsd.c,v 1.13 2020/04/22 23:55:29 joerg Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: loop-bsd.c,v 1.12 2016/06/08 01:11:49 christos Exp $");
+__RCSID("$NetBSD: loop-bsd.c,v 1.13 2020/04/22 23:55:29 joerg Exp $");
#endif
#include <errno.h>
@@ -87,7 +87,7 @@
* The list of all interfaces that are being listened to. loop()
* "polls" on the descriptors in this list.
*/
-struct if_info *iflist;
+extern struct if_info *iflist;
void mopProcess(struct if_info *, u_char *);
diff -r 48a0de8f46e3 -r 6e205820cf98 usr.sbin/mopd/common/loop-linux2.c
--- a/usr.sbin/mopd/common/loop-linux2.c Wed Apr 22 23:54:32 2020 +0000
+++ b/usr.sbin/mopd/common/loop-linux2.c Wed Apr 22 23:55:29 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loop-linux2.c,v 1.2 2019/12/07 04:55:01 christos Exp $ */
+/* $NetBSD: loop-linux2.c,v 1.3 2020/04/22 23:55:29 joerg Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: loop-linux2.c,v 1.2 2019/12/07 04:55:01 christos Exp $");
+__RCSID("$NetBSD: loop-linux2.c,v 1.3 2020/04/22 23:55:29 joerg Exp $");
#endif
#include <stdlib.h>
@@ -82,7 +82,7 @@
* The list of all interfaces that are being listened to. loop()
* "selects" on the descriptors in this list.
*/
-struct if_info *iflist;
+extern struct if_info *iflist;
void mopProcess(struct if_info *, u_char *);
Home |
Main Index |
Thread Index |
Old Index