Guard scriptfile.h with an #ifndef sentinel.

git-svn-id: https://svn.eduke32.com/eduke32@2548 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-03-26 22:04:59 +00:00
parent e74f8cada1
commit b7495ef5bd

View file

@ -1,3 +1,7 @@
#ifndef BUILD_SCRIPTFILE_H_
#define BUILD_SCRIPTFILE_H_
typedef struct { typedef struct {
char *textbuf; char *textbuf;
uint32_t textlength; uint32_t textlength;
@ -25,3 +29,5 @@ int32_t scriptfile_eof(scriptfile *sf);
int32_t scriptfile_getsymbolvalue(char *name, int32_t *val); int32_t scriptfile_getsymbolvalue(char *name, int32_t *val);
int32_t scriptfile_addsymbolvalue(char *name, int32_t val); int32_t scriptfile_addsymbolvalue(char *name, int32_t val);
void scriptfile_clearsymbols(void); void scriptfile_clearsymbols(void);
#endif