summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/scvesactl.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1998-09-26 03:38:40 +0000
committeryokota <yokota@FreeBSD.org>1998-09-26 03:38:40 +0000
commit1e819d1ed3944c583ff7d911b3e3fcbcdb83d3d2 (patch)
tree0b455ddaac08be74d113ee4a5e807639a1f37700 /sys/dev/syscons/scvesactl.c
parent1c1cbd96995f5b3daa2e0f71f53ce1b8604df354 (diff)
downloadFreeBSD-src-1e819d1ed3944c583ff7d911b3e3fcbcdb83d3d2.zip
FreeBSD-src-1e819d1ed3944c583ff7d911b3e3fcbcdb83d3d2.tar.gz
Cosmetic changes:
- there were too many global variables (there still are :-). - the data section was bloated by explicit initializations of static variables to 0 (only fixed the recently changed ones). - WRAPHIST() had silly parentheses around foo->bar. - the comment about inline functions was stale. - the comment about Userconfig presumes too much about the boot environment. - `i' was reused confusingly in scioctl(). - the declaration of `butmap' used a deprecated K&R misfeature. - the initializeation of `butmap' had an unnecessary line break. - `unsigned char' was not consistently (mis)spelled as u_char. - English was poor in a comment in videoio.c. Submitted by: bde
Diffstat (limited to 'sys/dev/syscons/scvesactl.c')
-rw-r--r--sys/dev/syscons/scvesactl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/syscons/scvesactl.c b/sys/dev/syscons/scvesactl.c
index 5f2c1dd..47b1862 100644
--- a/sys/dev/syscons/scvesactl.c
+++ b/sys/dev/syscons/scvesactl.c
@@ -23,7 +23,7 @@
* (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: scvesactl.c,v 1.3 1998/09/25 11:55:46 yokota Exp $
+ * $Id: scvesactl.c,v 1.4 1998/09/26 03:34:10 yokota Exp $
*/
#include "sc.h"
@@ -34,6 +34,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/conf.h>
#include <sys/tty.h>
#include <sys/kernel.h>
OpenPOWER on IntegriCloud