Module Name: src Committed By: drochner Date: Wed Oct 17 20:22:16 UTC 2012
Modified Files: src/usr.sbin/cpuctl/arch: noarch.c Log Message: avoid dummy structure definition, include a system header instead, looks just cleaner To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/cpuctl/arch/noarch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/cpuctl/arch/noarch.c diff -u src/usr.sbin/cpuctl/arch/noarch.c:1.4 src/usr.sbin/cpuctl/arch/noarch.c:1.5 --- src/usr.sbin/cpuctl/arch/noarch.c:1.4 Fri Aug 31 07:27:27 2012 +++ src/usr.sbin/cpuctl/arch/noarch.c Wed Oct 17 20:22:15 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: noarch.c,v 1.4 2012/08/31 07:27:27 drochner Exp $ */ +/* $NetBSD: noarch.c,v 1.5 2012/10/17 20:22:15 drochner Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -27,18 +27,15 @@ */ #include <sys/cdefs.h> -#include <sys/types.h> #ifndef lint -__RCSID("$NetBSD: noarch.c,v 1.4 2012/08/31 07:27:27 drochner Exp $"); +__RCSID("$NetBSD: noarch.c,v 1.5 2012/10/17 20:22:15 drochner Exp $"); #endif /* not lint */ +#include <sys/types.h> +#include <sys/cpuio.h> #include <stdio.h> -struct cpu_ucode { - int dummy; -}; - #include "../cpuctl.h" void