[vlc-commits] cpu: move Doxygen to header file
Rémi Denis-Courmont
git at videolan.org
Sun Mar 29 16:24:29 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 29 17:24:03 2020 +0300| [b4c52cccf270eb05f8cc08276dc53d9d84a4be46] | committer: Rémi Denis-Courmont
cpu: move Doxygen to header file
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4c52cccf270eb05f8cc08276dc53d9d84a4be46
---
include/vlc_cpu.h | 3 +++
src/misc/cpu.c | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/vlc_cpu.h b/include/vlc_cpu.h
index 7d731e09fd..6fe098f78a 100644
--- a/include/vlc_cpu.h
+++ b/include/vlc_cpu.h
@@ -26,6 +26,9 @@
#ifndef VLC_CPU_H
# define VLC_CPU_H 1
+/**
+ * Retrieves CPU capability flags.
+ */
VLC_API unsigned vlc_CPU(void);
# if defined (__i386__) || defined (__x86_64__)
diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index d496f262f9..d42d7ed066 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -251,9 +251,6 @@ out:
cpu_flags = i_capabilities;
}
-/**
- * Retrieves pre-computed CPU capability flags
- */
VLC_WEAK unsigned vlc_CPU(void)
{
static vlc_once_t once = VLC_STATIC_ONCE;
More information about the vlc-commits
mailing list