[Midnightbsd-cvs] src [11887] trunk/tools/tools/aac: update for newer os
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Jul 17 20:53:11 EDT 2018
Revision: 11887
http://svnweb.midnightbsd.org/src/?rev=11887
Author: laffer1
Date: 2018-07-17 20:53:10 -0400 (Tue, 17 Jul 2018)
Log Message:
-----------
update for newer os
Modified Paths:
--------------
trunk/tools/tools/aac/Makefile
trunk/tools/tools/aac/aac_checkq.c
Modified: trunk/tools/tools/aac/Makefile
===================================================================
--- trunk/tools/tools/aac/Makefile 2018-07-18 00:52:30 UTC (rev 11886)
+++ trunk/tools/tools/aac/Makefile 2018-07-18 00:53:10 UTC (rev 11887)
@@ -1,7 +1,9 @@
-# $FreeBSD: src/tools/tools/aac/Makefile,v 1.4 2004/12/21 08:47:26 ru Exp $
+# $MidnightBSD$
+# $FreeBSD: stable/10/tools/tools/aac/Makefile 276486 2014-12-31 23:25:37Z ngie $
PROG= aac_checkq
-NO_MAN=
+MAN=
+WARNS?=6
BINDIR?=/usr/local/bin
.include <bsd.prog.mk>
Modified: trunk/tools/tools/aac/aac_checkq.c
===================================================================
--- trunk/tools/tools/aac/aac_checkq.c 2018-07-18 00:52:30 UTC (rev 11886)
+++ trunk/tools/tools/aac/aac_checkq.c 2018-07-18 00:53:10 UTC (rev 11887)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*-
* Copyright (c) 2004 Scott Long
*
@@ -24,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/tools/tools/aac/aac_checkq.c,v 1.3 2005/11/06 15:47:06 maxim Exp $");
+__FBSDID("$FreeBSD: stable/10/tools/tools/aac/aac_checkq.c 219522 2011-03-11 18:51:42Z brucec $");
#include <sys/types.h>
#include <sys/fcntl.h>
@@ -33,7 +34,13 @@
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <strings.h>
+#include <unistd.h>
+void usage(void);
+
/*
* Simple program to print out the queue stats on the given queue index.
* See /sys/sys/aac_ioctl.h for the definitions of each queue index.
More information about the Midnightbsd-cvs
mailing list