[vlc-commits] visual visualization: fixed include-guards

Filip Roséen git at videolan.org
Mon Feb 22 11:59:33 CET 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Feb 22 01:12:43 2016 +0100| [d60fbdbeead80b6b7b2013fa1e59e7ff94492573] | committer: Jean-Baptiste Kempf

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 at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d60fbdbeead80b6b7b2013fa1e59e7ff94492573
---

 modules/visualization/visual/fft.h            |    6 +++---
 modules/visualization/visual/window.h         |    6 +++---
 modules/visualization/visual/window_presets.h |    6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/modules/visualization/visual/fft.h b/modules/visualization/visual/fft.h
index 942fd5d..f4c8a6b 100644
--- a/modules/visualization/visual/fft.h
+++ b/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 */
diff --git a/modules/visualization/visual/window.h b/modules/visualization/visual/window.h
index d8403aa..66f424b 100644
--- a/modules/visualization/visual/window.h
+++ b/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 */
diff --git a/modules/visualization/visual/window_presets.h b/modules/visualization/visual/window_presets.h
index 09e8d3a..ec37c54 100644
--- a/modules/visualization/visual/window_presets.h
+++ b/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 */



More information about the vlc-commits mailing list