From 4062fb2fcf938bb6a9c5d8f6404586cab11fe227 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 22 Aug 2002 19:10:52 +0000 Subject: 2002-08-22 Marcus Brinkmann * display.h: Add prototype for display_get_size. * display.c (display_get_size): New function. (nowait_file_changed): Update for new interfaces. * console.c (new_node): Use display_get_size to retrieve size of display node. (netfs_get_dirents): Initialize FIRST_VCONS to silence gcc warning. --- console/display.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'console/display.h') diff --git a/console/display.h b/console/display.h index 4f9b7586..26430cd3 100644 --- a/console/display.h +++ b/console/display.h @@ -36,6 +36,9 @@ error_t display_create (display_t *r_display, const char *encoding, /* Destroy the display DISPLAY. */ void display_destroy (display_t display); +/* Return the dimension of the display in bytes. */ +off_t display_get_size (display_t display); + /* Return the dimensions of the display DISPLAY in *WINSIZE. */ void display_getsize (display_t display, struct winsize *winsize); -- cgit v1.2.3