Skip to content

Commit

Permalink
Fixed: Inappropriate use of extern
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 17, 2012
1 parent 69f7ac6 commit e8ecd52
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doomsday/engine/include/render/r_sky.h
Expand Up @@ -31,10 +31,6 @@

#include "resource/models.h"

#ifdef __cplusplus
extern "C" {
#endif

#define MAX_SKY_LAYERS ( 2 )
#define MAX_SKY_MODELS ( 32 )

Expand All @@ -53,9 +49,13 @@ typedef struct skymodel_s {
float yaw;
} skymodel_t;

extern boolean alwaysDrawSphere;
extern boolean skyModelsInited;
extern skymodel_t skyModels[MAX_SKY_MODELS];
DENG_EXTERN_C boolean alwaysDrawSphere;
DENG_EXTERN_C boolean skyModelsInited;
DENG_EXTERN_C skymodel_t skyModels[MAX_SKY_MODELS];

#ifdef __cplusplus
extern "C" {
#endif

/// Initialize this module.
void R_SkyInit(void);
Expand Down

0 comments on commit e8ecd52

Please sign in to comment.