From 2dcf2e8188f433fb668ffc586ffd485d0ff91059 Mon Sep 17 00:00:00 2001 From: nia Date: Mon, 21 Oct 2019 20:24:16 +0100 Subject: [PATCH] unix: move random-sysctl to random-sysctl-linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/2528 Reviewed-By: Ben Noordhuis Reviewed-By: Saúl Ibarra Corretgé Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno --- CMakeLists.txt | 2 +- Makefile.am | 2 +- src/unix/{random-sysctl.c => random-sysctl-linux.c} | 0 uv.gyp | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/unix/{random-sysctl.c => random-sysctl-linux.c} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7da5e688..91113f8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -320,7 +320,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") src/unix/linux-syscalls.c src/unix/procfs-exepath.c src/unix/random-getrandom.c - src/unix/random-sysctl.c + src/unix/random-sysctl-linux.c src/unix/sysinfo-loadavg.c) endif() diff --git a/Makefile.am b/Makefile.am index ce4ca274..15215a6c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -467,7 +467,7 @@ libuv_la_SOURCES += src/unix/linux-core.c \ src/unix/procfs-exepath.c \ src/unix/proctitle.c \ src/unix/random-getrandom.c \ - src/unix/random-sysctl.c \ + src/unix/random-sysctl-linux.c \ src/unix/sysinfo-loadavg.c test_run_tests_LDFLAGS += -lutil endif diff --git a/src/unix/random-sysctl.c b/src/unix/random-sysctl-linux.c similarity index 100% rename from src/unix/random-sysctl.c rename to src/unix/random-sysctl-linux.c diff --git a/uv.gyp b/uv.gyp index 051bdc93..1630df14 100644 --- a/uv.gyp +++ b/uv.gyp @@ -245,7 +245,7 @@ 'src/unix/linux-syscalls.h', 'src/unix/procfs-exepath.c', 'src/unix/random-getrandom.c', - 'src/unix/random-sysctl.c', + 'src/unix/random-sysctl-linux.c', 'src/unix/sysinfo-loadavg.c', ], 'link_settings': {