summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol/decode.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-03-07 01:34:47 +0000
committerbrian <brian@FreeBSD.org>1997-03-07 01:34:47 +0000
commit32d76cda2845062005b5989e2d39748611b81d88 (patch)
tree0c0d3a9950b6c9db563024865f62e5277a5d6fb9 /usr.sbin/vidcontrol/decode.c
parent70864abe498fed77a9760b6cbd5a7aad13d14ccd (diff)
downloadFreeBSD-src-32d76cda2845062005b5989e2d39748611b81d88.zip
FreeBSD-src-32d76cda2845062005b5989e2d39748611b81d88.tar.gz
Add a -s option for setting the current vty. This should make
life easier if a PS/2 mouse locks up the keyboard (frequent-ish, but not repeatable). Tidy up code (a bit) and make it -Wall Is this a 2.2 candidate ? (although it doesn't -Wall in 2.2 because of the lack of sys/sysproto.h
Diffstat (limited to 'usr.sbin/vidcontrol/decode.c')
-rw-r--r--usr.sbin/vidcontrol/decode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/vidcontrol/decode.c b/usr.sbin/vidcontrol/decode.c
index a2e4d1a..11a8360 100644
--- a/usr.sbin/vidcontrol/decode.c
+++ b/usr.sbin/vidcontrol/decode.c
@@ -25,10 +25,12 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: decode.c,v 1.5 1997/02/22 16:14:07 peter Exp $
*/
#include <stdio.h>
+#include <string.h>
+#include "decode.h"
int decode(FILE *fd, char *buffer)
{
OpenPOWER on IntegriCloud