1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-04 07:33:07 +00:00

Create uraid.h to declare functions defined in uraid.c.

Update files that depend on these uraid functions to include uraid.h.
Add dependencies to makefile.

	modified:   bin/makefile-tail
	new file:   inc/uraid.h
	modified:   src/common.c
	modified:   src/truecolor.c
	modified:   src/unwind.c
	modified:   src/uraid.c
	modified:   src/uutils.c
This commit is contained in:
Nick Briggs
2017-06-29 18:27:28 -07:00
parent 0445e61fde
commit 7c9b9d22c6
7 changed files with 20 additions and 7 deletions

View File

@@ -28,6 +28,7 @@ static char *id = "$Id: common.c,v 1.2 1999/01/03 02:06:52 sybalsky Exp $ Copyri
#include "emlglob.h"
#include "stack.h"
#include "dbprint.h"
#include "uraid.h"
#ifndef NOPIXRECT
#include <pixrect/pixrect_hs.h>

View File

@@ -27,6 +27,7 @@ static char *id = "$Id: truecolor.c,v 1.2 1999/01/03 02:07:38 sybalsky Exp $ Cop
#include "adr68k.h"
#include "arith.h"
#include "devconf.h"
#include "uraid.h"
#include "picture.h"

View File

@@ -31,6 +31,7 @@ static char *id = "$Id: unwind.c,v 1.3 1999/05/31 23:35:46 sybalsky Exp $ Copyri
#include "emlglob.h"
#include "stack.h"
#include "lspglob.h"
#include "uraid.h"
UNSIGNED N_OP_unwind(register LispPTR *cstkptr, register LispPTR tos, int n, int keep) {
register int num; /* number of UNBOUND slot */

View File

@@ -87,6 +87,7 @@ extern int Win_security_p;
#include "display.h"
#include "bitblt.h"
#include "uraid.h"
#ifdef DOS
#define vfork() printf("No forking around here.\n")
@@ -858,7 +859,7 @@ int device_before_raid() {
int size;
int munmapstat;
struct pixrect *fb;
extern char *alloc_hideDISP();
/* extern char *alloc_hideDISP(); */
#ifdef SUNDISPLAY
union wait status;
#endif /* SUNDISPLAY */
@@ -1052,6 +1053,8 @@ char *alloc_hideDISP(int size)
*/
#define KB_ALLUP 0xffff
static int re_init_display(int, int);
int device_after_raid() {
extern DLword *EmMouseX68K, *EmMouseY68K, *EmKbdAd068K, *EmRealUtilin68K;
extern DLword *EmKbdAd168K, *EmKbdAd268K, *EmKbdAd368K, *EmKbdAd468K, *EmKbdAd568K;
@@ -1128,7 +1131,7 @@ int device_after_raid() {
/***********************************************************************/
#ifndef COLOR
int re_init_display(int lisp_display_addr, int display_max)
static int re_init_display(int lisp_display_addr, int display_max)
{
int mmapstat, size;
struct pixrect *ColorFb;
@@ -1238,7 +1241,7 @@ int re_init_display(int lisp_display_addr, int display_max)
#else /* COLOR */
int re_init_display(int lisp_display_addr, int display_max)
static int re_init_display(int lisp_display_addr, int display_max)
{
int mmapstat, size;
struct pixrect *ColorFb;

View File

@@ -48,6 +48,7 @@ static char *id = "$Id: uutils.c,v 1.3 1999/05/31 23:35:47 sybalsky Exp $ Copyri
#include "lspglob.h"
#include "osmsg.h"
#include "keyboard.h"
#include "uraid.h"
#ifdef OS5
#define gethostid() 0