Build via include

This commit is contained in:
jl777
2019-02-02 04:13:53 -11:00
parent eaa3bcb493
commit 70664f4be5
4 changed files with 45 additions and 0 deletions

View File

@@ -10,6 +10,8 @@
* See the file LICENSE.TXT for full copyright and licensing information.
*/
#ifndef H_EXTERN_ROGUE_H
#define H_EXTERN_ROGUE_H
#ifdef HAVE_CONFIG_H
#ifdef PDCURSES
@@ -179,4 +181,5 @@ void md_onsignal_autosave(void);
void md_onsignal_exit(void);
void md_onsignal_default(void);
int md_issymlink(char *sp);
#endif

View File

@@ -10,6 +10,9 @@
* See the file LICENSE.TXT for full copyright and licensing information.
*/
#ifndef H_ROGUE_H
#define H_ROGUE_H
#include "extern.h"
#undef lines
@@ -783,3 +786,5 @@ extern char *wood[];
extern int cNWOOD;
extern char *metal[];
extern int cNMETAL;
#endif

View File

@@ -9,6 +9,8 @@
*
* See the file LICENSE.TXT for full copyright and licensing information.
*/
#ifndef H_SCORE_H
#define H_SCORE_H
struct sc_ent {
unsigned int sc_uid;
@@ -24,3 +26,4 @@ typedef struct sc_ent SCORE;
void rd_score(SCORE *top_ten);
void wr_score(SCORE *top_ten);
#endif