Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mopd/moptrace Port to linux



details:   https://anonhg.NetBSD.org/src/rev/e49a1fd969e9
branches:  trunk
changeset: 345771:e49a1fd969e9
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 08 01:19:05 2016 +0000

description:
Port to linux

diffstat:

 usr.sbin/mopd/moptrace/Makefile.linux |  11 +++++++++++
 usr.sbin/mopd/moptrace/moptrace.c     |   6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r f7fd137462e4 -r e49a1fd969e9 usr.sbin/mopd/moptrace/Makefile.linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/mopd/moptrace/Makefile.linux     Wed Jun 08 01:19:05 2016 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:19:05 christos Exp $
+SRCS=moptrace.c
+OBJS=${SRCS:.c=.o}
+
+LDLIBS+=../common/libcommon.a
+CFLAGS+=-I../common
+
+moptrace: ${OBJS}
+
+clean:
+       rm -f ${OBJS} moptrace
diff -r f7fd137462e4 -r e49a1fd969e9 usr.sbin/mopd/moptrace/moptrace.c
--- a/usr.sbin/mopd/moptrace/moptrace.c Wed Jun 08 01:17:54 2016 +0000
+++ b/usr.sbin/mopd/moptrace/moptrace.c Wed Jun 08 01:19:05 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: moptrace.c,v 1.11 2011/08/30 19:49:11 joerg Exp $      */
+/*     $NetBSD: moptrace.c,v 1.12 2016/06/08 01:19:05 christos Exp $   */
 
 /*
  * Copyright (c) 1993-95 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: moptrace.c,v 1.11 2011/08/30 19:49:11 joerg Exp $");
+__RCSID("$NetBSD: moptrace.c,v 1.12 2016/06/08 01:19:05 christos Exp $");
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index