Files
nethack/include/beconf.h
Sean Hunt 8b57d96fd2 Reformat .h files.
I did my best to exempt some of the bigger aligned blocks from the reformatting
using the /* clang-format off */ and /* clang-format on */ tags. Probably some
that shouldn't have been formatted were anyway; if you encounter them, please
fix.

The clang-format tags were left in on the basis that it's much easier to prune
those out later than to put them back in, and it means that, modulo my custom
version of clang-format, I should be able to run clang-format on the source tree
again without changing anything, now that Pat has fixed the VA_DECL issues.
2015-05-25 09:21:15 +09:00

38 lines
975 B
C

/* NetHack 3.6 beconf.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
/* NetHack 3.6 beconf.h $Date: 2009/05/06 10:44:34 $ $Revision: 1.4 $ */
/* SCCS Id: @(#)beconf.h 3.5 1998/07/08 */
/* Copyright (c) Dean Luick 1996. */
/* NetHack may be freely redistributed. See license for details. */
/* Configuration for Be Inc.'s BeOS */
#ifndef BECONF_H
#define BECONF_H
/*
* We must use UNWIDENED_PROTOTYPES because we mix C++ and C.
*/
#define index strchr
#define rindex strrchr
#define Rand rand /* Be should have a better rand function! */
#define tgetch getchar
#define FCMASK 0666
#define PORT_ID "BeOS"
#define TEXTCOLOR
#define POSIX_TYPES
#define SIG_RET_TYPE __signal_func_ptr
#include <time.h> /* for time_t */
#include <unistd.h> /* for lseek() */
/* could go in extern.h, under bemain.c (or something..) */
void regularize(char *);
/* instead of including system.h... */
#include <string.h>
#include <stdlib.h>
#include <termcap.h>
#endif /* BECONF_H */