
Author: ods15 Date: Fri Feb 1 15:20:19 2008 New Revision: 527 Log: Better inclusion guards, legal C Modified: src/trunk/libnut/libnut.h src/trunk/libnut/priv.h Modified: src/trunk/libnut/libnut.h ============================================================================== --- src/trunk/libnut/libnut.h (original) +++ src/trunk/libnut/libnut.h Fri Feb 1 15:20:19 2008 @@ -1,8 +1,8 @@ // (C) 2005-2006 Oded Shimon // This file is available under the MIT/X license, see COPYING -#ifndef _NUT_H -#define _NUT_H +#ifndef LIBNUT_NUT_H_ +#define LIBNUT_NUT_H_ #include <stddef.h> #include <stdint.h> @@ -592,4 +592,4 @@ int nut_seek(nut_context_t * nut, double * After nut_seek, nut_read_next_packet should be called to get the next frame. */ -#endif // _NUT_H +#endif // LIBNUT_NUT_H_ Modified: src/trunk/libnut/priv.h ============================================================================== --- src/trunk/libnut/priv.h (original) +++ src/trunk/libnut/priv.h Fri Feb 1 15:20:19 2008 @@ -1,8 +1,8 @@ // (C) 2005-2006 Oded Shimon // This file is available under the MIT/X license, see COPYING -#ifndef _NUT_PRIV_H -#define _NUT_PRIV_H +#ifndef LIBNUT_NUT_PRIV_H_ +#define LIBNUT_NUT_PRIV_H_ //#define NDEBUG //#define TRACE @@ -235,4 +235,4 @@ static inline int gcd(int a, int b) { #define TO_TB(i) nut->tb[nut->sc[i].timebase_id] -#endif // _NUT_PRIV_H +#endif // LIBNUT_NUT_PRIV_H_
participants (1)
-
ods15