1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)extern.h	5.1 (Berkeley) 5/30/85
   7:  */
   8: 
   9: /*
  10:  * Defines for things used in find.c
  11:  *
  12:  * $Revision: 1.4 $, $Date: 85/03/31 19:20:07 $
  13:  */
  14: 
  15: /*
  16:  * Don't change the constants, since they are used for sizes in many
  17:  * places in the program.
  18:  */
  19: 
  20: # define MAXSTR     80  /* maximum length of strings */
  21: # define MAXLINES   32  /* maximum number of screen lines used */
  22: # define MAXCOLS    80  /* maximum number of screen columns used */
  23: 
  24: # define RN     (((Seed = Seed * 11109 + 13849) >> 16) & 0xffff)
  25: # ifdef CTRL
  26: #	undef CTRL
  27: # endif	CTRL
  28: # define    CTRL(c)     ('c' & 037)
  29: 
  30: # undef unctrl      /* Sigh..., why me??? */
  31: 
  32: /*
  33:  * Now all the global variables
  34:  */
  35: 
  36: extern bool Got_ltc, In_shell, Wizard;
  37: 
  38: extern char Fruit[], Orig_dsusp, Prbuf[], Whoami[];
  39: 
  40: extern int  Fd;
  41: 
  42: extern unsigned int Numscores;
  43: 
  44: # ifdef TIOCGLTC
  45: extern struct ltchars   Ltc;
  46: # endif TIOCGLTC
  47: 
  48: /*
  49:  * Function types
  50:  */
  51: 
  52: char    *brk(), *charge_str(), *choose_str(), *ctime(), *getenv(),
  53:     *inv_name(), *killname(), *malloc(), *nothing(), *nullstr(),
  54:     *num(), *pick_color(), *ring_num(), *sbrk(), *set_mname(),
  55:     *sprintf(), *strcat(), *strcpy(), *type_name(), *unctrl(),
  56:     *vowelstr();
  57: 
  58: int auto_save(), come_down(), doctor(), endit(), land(), leave(),
  59:     nohaste(), quit(), rollwand(), runners(), sight(), stomach(),
  60:     swander(), tstp(), turn_see(), unconfuse(), unsee(), visuals();
  61: 
  62: # ifdef CHECKTIME
  63: int checkout();
  64: # endif	CHECKTIME
  65: 
  66: long    lseek(), time();

Defined macros

CTRL defined in line 28; used 3 times
MAXCOLS defined in line 22; never used
MAXLINES defined in line 21; never used
MAXSTR defined in line 20; used 1 times
RN defined in line 24; never used

Usage of this include

Last modified: 1986-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1046
Valid CSS Valid XHTML 1.0 Strict