4.4BSD/usr/src/old/rogue/machdep.h

Compare this file to the similar file:
Show the results in this format:

/*
 * Copyright (c) 1980 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 *
 *	@(#)machdep.h	5.2 (Berkeley) 10/22/87
 */

/*
 * Defines for things used in find.c
 *
 * $Revision: 1.4 $, $Date: 85/03/31 19:20:07 $
 */

/*
 * Don't change the constants, since they are used for sizes in many
 * places in the program.
 */

# define MAXSTR		80	/* maximum length of strings */
# define MAXLINES	32	/* maximum number of screen lines used */
# define MAXCOLS	80	/* maximum number of screen columns used */

# define RN		(((Seed = Seed * 11109 + 13849) >> 16) & 0xffff)
# ifdef CTRL
#	undef	CTRL
# endif	CTRL
# define	CTRL(c)		('c' & 037)

# undef	unctrl		/* Sigh..., why me??? */

/*
 * Now all the global variables
 */

extern bool	Got_ltc, In_shell, Wizard;

extern char	Fruit[], Orig_dsusp, Prbuf[], Whoami[];

extern int	Fd;

extern unsigned int	Numscores;

# ifdef TIOCGLTC
extern struct ltchars	Ltc;
# endif TIOCGLTC

/*
 * Function types
 */

char	*brk(), *charge_str(), *choose_str(), *ctime(), *getenv(),
	*inv_name(), *killname(), *malloc(), *nothing(), *nullstr(),
	*num(), *pick_color(), *ring_num(), *sbrk(), *set_mname(),
	*strcat(), *strcpy(), *type_name(), *unctrl(),
	*vowelstr();

int	auto_save(), come_down(), doctor(), endit(), land(), leave(),
	nohaste(), quit(), rollwand(), runners(), sight(), stomach(),
	swander(), tstp(), turn_see(), unconfuse(), unsee(), visuals();

# ifdef CHECKTIME
int	checkout();
# endif	CHECKTIME

long	lseek(), time();