diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-11-14 07:35:57 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-11-14 07:35:57 +0000 |
| commit | b3e24f9ce91bb200d621c57bfa92eac473a435f9 (patch) | |
| tree | 9c94bad3e616d0070b577e174ae969aefd06ef32 /sys/dev/syscons/star | |
| parent | a2c9d3c2906b57db1ee27ef76d5fdf366d043196 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/star')
| -rw-r--r-- | sys/dev/syscons/star/star_saver.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/dev/syscons/star/star_saver.c b/sys/dev/syscons/star/star_saver.c index 6090f3e30bce..d96b453f8839 100644 --- a/sys/dev/syscons/star/star_saver.c +++ b/sys/dev/syscons/star/star_saver.c @@ -25,7 +25,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: star_saver.c,v 1.4 1995/10/28 12:35:14 peter Exp $ + * $Id: star_saver.c,v 1.5 1995/11/13 07:19:10 bde Exp $ */ #include <sys/param.h> @@ -37,10 +37,10 @@ #include <sys/errno.h> #include <saver.h> -MOD_MISC("star_saver") +MOD_MISC(star_saver); -void (*current_saver)(); -void (*old_saver)(); +void (*current_saver)(int blank); +void (*old_saver)(int blank); #define NUM_STARS 50 @@ -48,7 +48,7 @@ void (*old_saver)(); * Alternate saver that got its inspiration from a well known utility * package for an inferior^H^H^H^H^H^Hfamous OS. */ -void +static void star_saver(int blank) { scr_stat *scp = cur_console; @@ -89,6 +89,7 @@ star_saver(int blank) } } +static int star_saver_load(struct lkm_table *lkmtp, int cmd) { (*current_saver)(0); @@ -98,6 +99,7 @@ star_saver_load(struct lkm_table *lkmtp, int cmd) return 0; } +static int star_saver_unload(struct lkm_table *lkmtp, int cmd) { (*current_saver)(0); @@ -106,6 +108,7 @@ star_saver_unload(struct lkm_table *lkmtp, int cmd) return 0; } +int star_saver_mod(struct lkm_table *lkmtp, int cmd, int ver) { DISPATCH(lkmtp, cmd, ver, star_saver_load, star_saver_unload, |
