Move the definition of set_origin from logo_saver.c to saver.h.

This commit is contained in:
Dag-Erling Smørgrav 1999-01-16 10:20:16 +00:00
parent 135b45b1ac
commit 9402dfb01a
3 changed files with 5 additions and 7 deletions

View File

@ -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: logo_saver.c,v 1.2 1999/01/01 14:40:49 des Exp $
* $Id: logo_saver.c,v 1.3 1999/01/11 03:18:49 yokota Exp $
*/
#include <sys/param.h>
@ -42,8 +42,6 @@ static int blanked;
#include "logo.c"
#define set_origin(adp, o) (*vidsw[(adp)->va_index]->set_win_org)(adp, o)
static void
logo_blit(video_adapter_t *adp, int x, int y)
{

View File

@ -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: logo_saver.c,v 1.2 1999/01/01 14:40:49 des Exp $
* $Id: logo_saver.c,v 1.3 1999/01/11 03:18:49 yokota Exp $
*/
#include <sys/param.h>
@ -42,8 +42,6 @@ static int blanked;
#include "logo.c"
#define set_origin(adp, o) (*vidsw[(adp)->va_index]->set_win_org)(adp, o)
static void
logo_blit(video_adapter_t *adp, int x, int y)
{

View File

@ -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: saver.h,v 1.14 1998/12/31 13:40:26 des Exp $
* $Id: saver.h,v 1.15 1999/01/11 03:18:42 yokota Exp $
*/
#include <machine/apm_bios.h>
#include <machine/console.h>
@ -43,6 +43,8 @@
}
#define get_mode_info(adp, mode, buf) \
(*vidsw[(adp)->va_index]->get_info)((adp), (mode), (buf))
#define set_origin(adp, o) \
(*vidsw[(adp)->va_index]->set_win_org)(adp, o)
extern scr_stat *cur_console;
extern char scr_map[];