Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Put some include-once and extern "C" blocks in the extras' headers.
  • Loading branch information
icculus committed Sep 24, 2011
1 parent 28007c9 commit 9d1ef08
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions extras/globbing.h
@@ -1,3 +1,6 @@
#ifndef INCL_PHYSFSEXT_GLOBBING_H
#define INCL_PHYSFSEXT_GLOBBING_H

/** \file globbing.h */

#include "physfs.h"
Expand Down Expand Up @@ -32,6 +35,9 @@
* \author Ryan C. Gordon.
*/

#ifdef __cplusplus
extern "C" {
#endif

/**
* \fn char **PHYSFS_enumerateFilesWildcard(const char *dir, const char *wildcard, int caseSensitive)
Expand Down Expand Up @@ -149,5 +155,11 @@ PHYSFS_DECL void PHYSFSEXT_enumerateFilesCallbackWildcard(const char *dir,
PHYSFS_EnumFilesCallback c,
void *d);

#ifdef __cplusplus
}
#endif

#endif /* include-once blocker. */

/* end of globbing.h ... */

12 changes: 12 additions & 0 deletions extras/ignorecase.h
@@ -1,3 +1,6 @@
#ifndef INCL_PHYSFSEXT_IGNORECASE_H
#define INCL_PHYSFSEXT_IGNORECASE_H

/** \file ignorecase.h */

/**
Expand Down Expand Up @@ -44,6 +47,9 @@
* \author Ryan C. Gordon.
*/

#ifdef __cplusplus
extern "C" {
#endif

/**
* \fn int PHYSFSEXT_locateCorrectCase(char *buf)
Expand Down Expand Up @@ -71,5 +77,11 @@
*/
int PHYSFSEXT_locateCorrectCase(char *buf);

#ifdef __cplusplus
}
#endif

#endif /* include-once blocker. */

/* end of ignorecase.h ... */

0 comments on commit 9d1ef08

Please sign in to comment.