Browse Source

visual visualization: fixed include-guards

* fixed usage of reserved identifiers
 * fixed comment on `#endif` corresponding to include-guard

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/42/head
Filip Roséen 10 years ago
committed by Jean-Baptiste Kempf
parent
commit
d60fbdbeea
  1. 6
      modules/visualization/visual/fft.h
  2. 6
      modules/visualization/visual/window.h
  3. 6
      modules/visualization/visual/window_presets.h

6
modules/visualization/visual/fft.h

@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _FFT_H_
#define _FFT_H_
#ifndef VLC_VISUAL_FFT_H_
#define VLC_VISUAL_FFT_H_
#define FFT_BUFFER_SIZE_LOG 9
@ -53,4 +53,4 @@ void fft_perform (const sound_sample *input, float *output, fft_state *state);
void fft_close (fft_state *state);
#endif /* _FFT_H_ */
#endif /* include-guard */

6
modules/visualization/visual/window.h

@ -21,8 +21,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _WINDOW_H_
#define _WINDOW_H_
#ifndef VLC_VISUAL_WINDOW_H_
#define VLC_VISUAL_WINDOW_H_
#include <vlc_common.h>
@ -63,4 +63,4 @@ void window_close( window_context * p_ctx );
/* Macro for defining a new window context */
#define DEFINE_WIND_CONTEXT(name) window_context name = {NULL, 0}
#endif /* _WINDOW_H_ */
#endif /* include-guard */

6
modules/visualization/visual/window_presets.h

@ -21,8 +21,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _WINDOW_PRESETS_
#define _WINDOW_PRESETS_
#ifndef VLC_VISUAL_WINDOW_PRESETS_H_
#define VLC_VISUAL_WINDOW_PRESETS_H_
/* Window functions supported by VLC. These are the typical window types used
* in spectrum analyzers. */
@ -34,4 +34,4 @@ static const char * const window_list_text[NB_WINDOWS] = {
N_("None"), N_("Hann"), N_("Flat Top"), N_("Blackman-Harris"), N_("Kaiser"),
};
#endif /* _WINDOW_PRESETS_ */
#endif /* include-guard */

Loading…
Cancel
Save