[vlc-commits] linux: move specific files to dedicated directory

Rémi Denis-Courmont git at videolan.org
Wed May 25 20:43:23 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 25 21:42:10 2016 +0300| [24f3a173d99f19022d1ffc793438a1928e400b04] | committer: Rémi Denis-Courmont

linux: move specific files to dedicated directory

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

 src/Makefile.am                              |    8 ++++----
 src/{posix/linux_cpu.c => linux/cpu.c}       |    2 +-
 src/{posix/linux_specific.c => linux/dirs.c} |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 2d34d34..145ac17 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -267,8 +267,8 @@ SOURCES_libvlc_android = \
 	android/netconf.c \
 	posix/plugin.c \
 	posix/timer.c \
-	posix/linux_cpu.c \
-	posix/linux_specific.c \
+	linux/cpu.c \
+	linux/dirs.c \
 	android/specific.c \
 	posix/rand.c \
 	$(NULL)
@@ -281,8 +281,8 @@ SOURCES_libvlc_linux = \
 	posix/plugin.c \
 	posix/thread.c \
 	posix/timer.c \
-	posix/linux_cpu.c \
-	posix/linux_specific.c \
+	linux/cpu.c \
+	linux/dirs.c \
 	posix/specific.c \
 	posix/rand.c \
 	$(NULL)
diff --git a/src/posix/linux_cpu.c b/src/linux/cpu.c
similarity index 98%
rename from src/posix/linux_cpu.c
rename to src/linux/cpu.c
index 3ec7c3c..38fcce9 100644
--- a/src/posix/linux_cpu.c
+++ b/src/linux/cpu.c
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * linux_cpu.c: CPU detection code for Linux
+ * linux/cpu.c: CPU detection code for Linux
  *****************************************************************************
  * Copyright (C) 2012 Rémi Denis-Courmont
  *
diff --git a/src/posix/linux_specific.c b/src/linux/dirs.c
similarity index 98%
rename from src/posix/linux_specific.c
rename to src/linux/dirs.c
index ef2426d..59af705 100644
--- a/src/posix/linux_specific.c
+++ b/src/linux/dirs.c
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * linux_specific.c: Linux-specific initialization
+ * linux/dirs.c: Linux-specific directories
  *****************************************************************************
  * Copyright © 2008-2012 Rémi Denis-Courmont
  *



More information about the vlc-commits mailing list