Fixed some of the issues reported by Solaris Lint.
diff --git a/console/generic.c b/console/generic.c index d45813a..eeedc08 100644 --- a/console/generic.c +++ b/console/generic.c
@@ -69,8 +69,8 @@ { /* Scroll Up Window: Characters go down */ - char trow, tcol; - int old_refresh, x; + char trow, tcol, x; + int old_refresh; TRACE("Scroll Up %d lines from %d to %d.\n", lines, row1, row2); @@ -101,8 +101,8 @@ { /* Scroll Down Window: Characters go up */ - char trow, tcol; - int old_refresh, x; + char trow, tcol, x; + int old_refresh; /* Abort if we have only partial functionality */ if (!(driver.getCursorPosition && driver.moveCursor && driver.write @@ -144,7 +144,7 @@ functions but may be useful elsewhere. If it can be used from outside here, it should be made non-static */ - int x; + char x; TRACE("Clear Line: %d from %d to %d.\n", row, col1, col2); @@ -165,7 +165,7 @@ functions but may be useful elsewhere. If it can be used from outside here, it should be made non-static */ - int x; + char x; int bg_color, fg_color, attribute; char ch;