Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/mopd/mopcopy Port to linux
details: https://anonhg.NetBSD.org/src/rev/4e00e82c6a17
branches: trunk
changeset: 345769:4e00e82c6a17
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 08 01:16:35 2016 +0000
description:
Port to linux
diffstat:
usr.sbin/mopd/mopcopy/Makefile.linux | 11 +++++++++++
usr.sbin/mopd/mopcopy/mopcopy.c | 6 +++---
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 9ab415a866d6 -r 4e00e82c6a17 usr.sbin/mopd/mopcopy/Makefile.linux
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/mopd/mopcopy/Makefile.linux Wed Jun 08 01:16:35 2016 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:16:35 christos Exp $
+SRCS=mopcopy.c
+OBJS=${SRCS:.c=.o}
+
+LDLIBS+=../common/libcommon.a
+CFLAGS+=-I../common -DNOAOUT
+
+mopcopy: ${OBJS}
+
+clean:
+ rm -f ${OBJS} mopcopy
diff -r 9ab415a866d6 -r 4e00e82c6a17 usr.sbin/mopd/mopcopy/mopcopy.c
--- a/usr.sbin/mopd/mopcopy/mopcopy.c Wed Jun 08 01:15:26 2016 +0000
+++ b/usr.sbin/mopd/mopcopy/mopcopy.c Wed Jun 08 01:16:35 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mopcopy.c,v 1.5 2011/08/30 19:49:11 joerg Exp $ */
+/* $NetBSD: mopcopy.c,v 1.6 2016/06/08 01:16:35 christos Exp $ */
/* mopcopy - Convert a Unix format kernel into something that
* can be transfered via MOP.
@@ -47,9 +47,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopcopy.c,v 1.5 2011/08/30 19:49:11 joerg Exp $");
+__RCSID("$NetBSD: mopcopy.c,v 1.6 2016/06/08 01:16:35 christos Exp $");
#endif
#include "os.h"
Home |
Main Index |
Thread Index |
Old Index