Permalink
Browse files

Removed '_' from the Header Guard definitions.

  • Loading branch information...
njh committed Jan 4, 2012
1 parent 59486e2 commit 3a78d2753a8c83db14db07d6d6ff3cc980d6261a
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _ATH_H_
-#define _ATH_H_
+#ifndef TWOLAME_ATH_H
+#define TWOLAME_ATH_H
FLOAT ath_db(FLOAT f, FLOAT value);
FLOAT ath_energy(FLOAT f, FLOAT value);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _AVAILBITS_H_
-#define _AVAILBITS_H_
+#ifndef TWOLAME_AVAILBITS_H
+#define TWOLAME_AVAILBITS_H
int available_bits(twolame_options * glopts);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _BITBUFFER_H_
-#define _BITBUFFER_H_
+#ifndef TWOLAME_BITBUFFER_H
+#define TWOLAME_BITBUFFER_H
#include "common.h"
View
@@ -23,8 +23,8 @@
*/
-#ifndef _COMMON_H
-#define _COMMON_H
+#ifndef TWOLAME_COMMON_H
+#define TWOLAME_COMMON_H
#ifdef _WIN32
# include "../win32/configwin.h"
@@ -369,7 +369,7 @@ struct twolame_options_struct {
int vbrstats[15];
};
-#endif // _COMMON_H
+#endif // TWOLAME_COMMON_H
// vim:ts=4:sw=4:nowrap:
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _CRC_H_
-#define _CRC_H_
+#ifndef TWOLAME_CRC_H
+#define TWOLAME_CRC_H
void crc_writeheader(unsigned char *bitstream, int bit_count);
View
@@ -23,8 +23,8 @@
*/
-#ifndef _DAB_H_
-#define _DAB_H_
+#ifndef TWOLAME_DAB_H
+#define TWOLAME_DAB_H
void dab_crc_calc(twolame_options * glopts,
unsigned int bit_alloc[2][SBLIMIT],
View
@@ -23,8 +23,8 @@
*/
-#ifndef _ENCODE_H_
-#define _ENCODE_H_
+#ifndef TWOLAME_ENCODE_H
+#define TWOLAME_ENCODE_H
int encode_init(twolame_options * glopts);
View
@@ -24,8 +24,8 @@
*/
-#ifndef _ENERGY_H_
-#define _ENERGY_H_
+#ifndef TWOLAME_ENERGY_H
+#define TWOLAME_ENERGY_H
int get_required_energy_bits(twolame_options * glopts);
void do_energy_levels(twolame_options * glopts, bit_stream * bs);
View
@@ -23,8 +23,8 @@
*/
-#ifndef _FFT_H_
-#define _FFT_H_
+#ifndef TWOLAME_FFT_H
+#define TWOLAME_FFT_H
//void fft (FLOAT[BLKSIZE], FLOAT[BLKSIZE], FLOAT[BLKSIZE], FLOAT[BLKSIZE], int);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _MEM_H
-#define _MEM_H
+#ifndef TWOLAME_MEM_H
+#define TWOLAME_MEM_H
#include "common.h"
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _PSYCHO_0_H_
-#define _PSYCHO_0_H_
+#ifndef TWOLAME_PSYCHO_0_H
+#define TWOLAME_PSYCHO_0_H
void psycho_0(twolame_options * glopts, FLOAT SMR[2][SBLIMIT], unsigned int scalar[2][3][SBLIMIT]);
void psycho_0_deinit(psycho_0_mem ** mem);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _PSYCHO_1_H_
-#define _PSYCHO_1_H_
+#ifndef TWOLAME_PSYCHO_1_H
+#define TWOLAME_PSYCHO_1_H
void psycho_1(twolame_options * glopts, short int buffer[2][1152], FLOAT scale[2][32],
FLOAT ltmin[2][32]);
@@ -23,8 +23,8 @@
*/
-#ifndef _CRITBAND_H_
-#define _CRITBAND_H_
+#ifndef TWOLAME_CRITBAND_H
+#define TWOLAME_CRITBAND_H
static const int SecondCriticalBand[7][28] = {
{
@@ -23,8 +23,8 @@
*/
-#ifndef _FREQTABLE_H
-#define _FREQTABLE_H
+#ifndef TWOLAME_FREQTABLE_H
+#define TWOLAME_FREQTABLE_H
typedef struct {
int line;
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _PSYCHO_2_H_
-#define _PSYCHO_2_H_
+#ifndef TWOLAME_PSYCHO_2_H
+#define TWOLAME_PSYCHO_2_H
psycho_2_mem *psycho_2_init(twolame_options * glopts, int sfreq);
void psycho_2(twolame_options * glopts, short int buffer[2][1152], short int savebuf[2][1056],
@@ -23,8 +23,8 @@
*/
-#ifndef _ABSTHR_H_
-#define _ABSTHR_H_
+#ifndef TWOLAME_ABSTHR_H
+#define TWOLAME_ABSTHR_H
static const FLOAT absthr_table[4][HBLKSIZE] = {
{
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _PSYCHO_3_H_
-#define _PSYCHO_3_H_
+#ifndef TWOLAME_PSYCHO_3_H
+#define TWOLAME_PSYCHO_3_H
void psycho_3(twolame_options * glopts, short int buffer[2][1152], FLOAT scale[2][32],
FLOAT ltmin[2][32]);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _PSYCHO_4_H_
-#define _PSYCHO_4_H_
+#ifndef TWOLAME_PSYCHO_4_H
+#define TWOLAME_PSYCHO_4_H
void psycho_4(twolame_options * glopts, short int buffer[2][1152], short int savebuf[2][1056],
FLOAT smr[2][32]);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef _PSYCHO_N1_H_
-#define _PSYCHO_N1_H_
+#ifndef TWOLAME_PSYCHO_N1_H
+#define TWOLAME_PSYCHO_N1_H
void psycho_n1(twolame_options * glopts, FLOAT ltmin[2][SBLIMIT], int stereo);
View
@@ -23,8 +23,8 @@
*/
-#ifndef _SUBBAND_H_
-#define _SUBBAND_H_
+#ifndef TWOLAME_SUBBAND_H
+#define TWOLAME_SUBBAND_H
int init_subband(subband_mem * smem);
void window_filter_subband(subband_mem * smem, short *pBuffer, int ch, FLOAT s[SBLIMIT]);
View
@@ -22,8 +22,8 @@
*
*/
-#ifndef __TWOLAME_H__
-#define __TWOLAME_H__
+#ifndef TWOLAME_H
+#define TWOLAME_H
#ifdef __cplusplus
extern "C" {
@@ -919,5 +919,5 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-#endif /* _TWOLAME_H_ */
+#endif /* TWOLAME_H */
// vim:ts=4:sw=4:nowrap:
View
@@ -23,16 +23,16 @@
*/
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef TWOLAME_UTIL_H
+#define TWOLAME_UTIL_H
/* non-public prototypes */
const char *twolame_mpeg_version_name(int version);
int twolame_get_bitrate_index(int bitrate, TWOLAME_MPEG_version version);
int twolame_get_samplerate_index(long sample_rate);
int twolame_get_version_for_samplerate(long sample_rate);
-#endif /* _UTIL_H_ */
+#endif /* TWOLAME_UTIL_H_ */
// vim:ts=4:sw=4:nowrap:
View
@@ -1,5 +1,5 @@
-#ifndef __TWOLAME_WINUTIL_H
-#define __TWOLAME_WINUTIL_H
+#ifndef TWOLAME_WINUTIL_H
+#define TWOLAME_WINUTIL_H
/*
* Don't define this as a function to avoid conflicts

0 comments on commit 3a78d27

Please sign in to comment.