|
|
1.1 ! root 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();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.