mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
Various cleanup.
This commit is contained in:
parent
a6ea03aea9
commit
2009374690
3 changed files with 15 additions and 2 deletions
|
@ -509,10 +509,21 @@ extern void _twiddlecompressed(uchar*, int);
|
|||
extern int _compblocksize(Rectangle, int);
|
||||
|
||||
/* XXX backwards helps; should go */
|
||||
extern int log2[];
|
||||
extern u32int drawld2chan[];
|
||||
extern void drawsetdebug(int);
|
||||
|
||||
/*
|
||||
* Snarf buffer
|
||||
*/
|
||||
enum
|
||||
{
|
||||
SnarfSize = 64*1024,
|
||||
};
|
||||
char *getsnarf(void);
|
||||
void putsnarf(char*);
|
||||
|
||||
void drawtopwindow(void);
|
||||
|
||||
/*
|
||||
* Port magic.
|
||||
*/
|
||||
|
|
|
@ -176,7 +176,8 @@ extern ulong rendezvous(ulong, ulong);
|
|||
|
||||
/* one of a kind */
|
||||
extern void sysfatal(char*, ...);
|
||||
extern int nrand(int);
|
||||
extern int nrand(int);
|
||||
extern long lrand(void);
|
||||
extern void setmalloctag(void*, ulong);
|
||||
extern void setrealloctag(void*, ulong);
|
||||
extern void *mallocz(ulong, int);
|
||||
|
|
|
@ -46,6 +46,7 @@ struct Memimage
|
|||
Memlayer *layer; /* nil if not a layer*/
|
||||
u32int flags;
|
||||
void *X;
|
||||
int screenref; /* reference count if this is a screen */
|
||||
|
||||
int shift[NChan];
|
||||
int mask[NChan];
|
||||
|
|
Loading…
Reference in a new issue