diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f675dd4bb..a19e267d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: runs-on: ubuntu-16.04 steps: - uses: actions/checkout@v1 - - name: | + - name: make + run: sudo apt-get install uuid-dev libcurl4-openssl-dev make - run: make build-macos-latest: runs-on: macos-latest diff --git a/src/zmalloc.cpp b/src/zmalloc.cpp index e4d5792ea..e3d364a97 100644 --- a/src/zmalloc.cpp +++ b/src/zmalloc.cpp @@ -449,9 +449,6 @@ size_t zmalloc_get_smap_bytes_by_field(const char *field, long pid) { return bytes; } #else -<<<<<<< HEAD:src/zmalloc.cpp -size_t zmalloc_get_smap_bytes_by_field(const char *field, long pid) { -======= /* Get sum of the specified field from libproc api call. * As there are per page value basis we need to convert * them accordingly. @@ -459,7 +456,7 @@ size_t zmalloc_get_smap_bytes_by_field(const char *field, long pid) { * Note that AnonHugePages is a no-op as THP feature * is not supported in this platform */ -size_t zmalloc_get_smap_bytes_by_field(char *field, long pid) { +size_t zmalloc_get_smap_bytes_by_field(const char *field, long pid) { #if defined(__APPLE__) struct proc_regioninfo pri; if (proc_pidinfo(pid, PROC_PIDREGIONINFO, 0, &pri, PROC_PIDREGIONINFO_SIZE) == @@ -474,7 +471,6 @@ size_t zmalloc_get_smap_bytes_by_field(char *field, long pid) { } return 0; #endif ->>>>>>> redis/6.0:src/zmalloc.c ((void) field); ((void) pid); return 0;