Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/mopd/mopprobe port to linux
details: https://anonhg.NetBSD.org/src/rev/3591b4c5fc0d
branches: trunk
changeset: 815912:3591b4c5fc0d
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 08 01:17:54 2016 +0000
description:
port to linux
diffstat:
usr.sbin/mopd/mopprobe/Makefile.linux | 11 +++++++++++
usr.sbin/mopd/mopprobe/mopprobe.c | 6 +++---
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r e59fb3f1840e -r 3591b4c5fc0d usr.sbin/mopd/mopprobe/Makefile.linux
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/mopd/mopprobe/Makefile.linux Wed Jun 08 01:17:54 2016 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:17:54 christos Exp $
+SRCS=mopprobe.c
+OBJS=${SRCS:.c=.o}
+
+LDLIBS+=../common/libcommon.a
+CFLAGS+=-I../common
+
+mopprobe: ${OBJS}
+
+clean:
+ rm -f ${OBJS} mopprobe
diff -r e59fb3f1840e -r 3591b4c5fc0d usr.sbin/mopd/mopprobe/mopprobe.c
--- a/usr.sbin/mopd/mopprobe/mopprobe.c Wed Jun 08 01:16:35 2016 +0000
+++ b/usr.sbin/mopd/mopprobe/mopprobe.c Wed Jun 08 01:17:54 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mopprobe.c,v 1.12 2013/10/19 17:16:37 christos Exp $ */
+/* $NetBSD: mopprobe.c,v 1.13 2016/06/08 01:17:54 christos Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@@ -24,9 +24,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopprobe.c,v 1.12 2013/10/19 17:16:37 christos Exp $");
+__RCSID("$NetBSD: mopprobe.c,v 1.13 2016/06/08 01:17:54 christos Exp $");
#endif
/*
Home |
Main Index |
Thread Index |
Old Index