From d824ffd02b1ee7c130bf4acce5b4b0151199af6b Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 22 Jan 1998 02:59:38 +0000 Subject: [PATCH] Changed #ifdef FILE_H to #ifdef _FILE_H --- Math/fg_geodesy.h | 16 +++++++++++----- Math/fg_random.h | 13 ++++++++----- Math/polar.h | 15 +++++++++------ Math/vector.h | 16 +++++++++++++--- XGL/xgl.h | 4 ++++ 5 files changed, 45 insertions(+), 19 deletions(-) diff --git a/Math/fg_geodesy.h b/Math/fg_geodesy.h index 64c1662f..65770e46 100644 --- a/Math/fg_geodesy.h +++ b/Math/fg_geodesy.h @@ -11,8 +11,8 @@ **************************************************************************/ -#ifndef FG_GEODESY_H -#define FG_GEODESY_H +#ifndef _FG_GEODESY_H +#define _FG_GEODESY_H /* fgGeocToGeod(lat_geoc, radius, *lat_geod, *alt, *sea_level_r) @@ -89,6 +89,9 @@ void fgGeodToGeoc( double lat_geod, double alt, double *sl_radius, $Header$ $Log$ +Revision 1.2 1998/01/22 02:59:38 curt +Changed #ifdef FILE_H to #ifdef _FILE_H + Revision 1.1 1997/07/31 23:13:14 curt Initial revision. @@ -141,11 +144,14 @@ Initial Flight Gear revision. --------------------------------------------------------------------------*/ -#endif /* FG_GEODESY_H */ +#endif /* _FG_GEODESY_H */ /* $Log$ -/* Revision 1.1 1997/07/31 23:13:14 curt -/* Initial revision. +/* Revision 1.2 1998/01/22 02:59:38 curt +/* Changed #ifdef FILE_H to #ifdef _FILE_H /* + * Revision 1.1 1997/07/31 23:13:14 curt + * Initial revision. + * */ diff --git a/Math/fg_random.h b/Math/fg_random.h index 68a19afd..2b8ec8da 100644 --- a/Math/fg_random.h +++ b/Math/fg_random.h @@ -24,8 +24,8 @@ **************************************************************************/ -#ifndef FG_RANDOM_H -#define FG_RANDOM_H +#ifndef _FG_RANDOM_H +#define _FG_RANDOM_H /* Seed the random number generater with time() so we don't see the @@ -36,13 +36,16 @@ void fg_srandom(void); double fg_random(void); -#endif /* FG_RANDOM_H */ +#endif /* _FG_RANDOM_H */ /* $Log$ -/* Revision 1.1 1997/07/30 16:04:09 curt -/* Moved random routines from Utils/ to Math/ +/* Revision 1.2 1998/01/22 02:59:38 curt +/* Changed #ifdef FILE_H to #ifdef _FILE_H /* + * Revision 1.1 1997/07/30 16:04:09 curt + * Moved random routines from Utils/ to Math/ + * * Revision 1.2 1997/07/23 21:52:28 curt * Put comments around the text after an #endif for increased portability. * diff --git a/Math/polar.h b/Math/polar.h index 1e48966b..3fdc7846 100644 --- a/Math/polar.h +++ b/Math/polar.h @@ -24,8 +24,8 @@ **************************************************************************/ -#ifndef POLAR_H -#define POLAR_H +#ifndef _POLAR_H +#define _POLAR_H #include @@ -59,14 +59,17 @@ void fgRotateBatchInit(double Theta, double Phi); struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p); -#endif /* POLAR_H */ +#endif /* _POLAR_H */ /* $Log$ -/* Revision 1.5 1998/01/19 19:27:13 curt -/* Merged in make system changes from Bob Kuehne -/* This should simplify things tremendously. +/* Revision 1.6 1998/01/22 02:59:39 curt +/* Changed #ifdef FILE_H to #ifdef _FILE_H /* + * Revision 1.5 1998/01/19 19:27:13 curt + * Merged in make system changes from Bob Kuehne + * This should simplify things tremendously. + * * Revision 1.4 1997/12/15 23:54:55 curt * Add xgl wrappers for debugging. * Generate terrain normals on the fly. diff --git a/Math/vector.h b/Math/vector.h index 234cf40b..06f78862 100644 --- a/Math/vector.h +++ b/Math/vector.h @@ -24,6 +24,10 @@ **************************************************************************/ +#ifndef _VECTOR_H +#define _VECTOR_H + + #include @@ -32,11 +36,17 @@ void map_vec_onto_cur_surface_plane(MAT3vec normal, MAT3vec v0, MAT3vec vec, MAT3vec result); +#endif /* _VECTOR_H */ + + /* $Log$ -/* Revision 1.2 1998/01/19 19:27:14 curt -/* Merged in make system changes from Bob Kuehne -/* This should simplify things tremendously. +/* Revision 1.3 1998/01/22 02:59:39 curt +/* Changed #ifdef FILE_H to #ifdef _FILE_H /* + * Revision 1.2 1998/01/19 19:27:14 curt + * Merged in make system changes from Bob Kuehne + * This should simplify things tremendously. + * * Revision 1.1 1997/12/22 04:13:18 curt * Initial revision. * diff --git a/XGL/xgl.h b/XGL/xgl.h index e1b11e56..9546127c 100644 --- a/XGL/xgl.h +++ b/XGL/xgl.h @@ -1,3 +1,6 @@ +#ifndef _XGL_H +#define _XGL_H + #include #include @@ -823,3 +826,4 @@ void xglPrioritizeTexturesEXT ( GLsizei n, GLuint *textures, GLclampf *pri #endif +#endif /* _XGL_H */ -- 2.39.2