Revert "take out unused variables"
authorMatthew Brett <matthew.brett@gmail.com>
Fri, 1 Jun 2018 22:20:00 +0000 (23:20 +0100)
committerMatthew Brett <matthew.brett@gmail.com>
Fri, 1 Jun 2018 22:20:00 +0000 (23:20 +0100)
This reverts commit e5752ff9b322c665a7393d6109c2da7ad6ee2523.

The variables i and n are used in the `#if !__GLIBC_PREREQ(2, 7)`
branch.

Closes gh-1586.

driver/others/memory.c

index ef328b9..d69e52e 100644 (file)
@@ -180,7 +180,7 @@ int get_num_procs(void) {
 cpu_set_t *cpusetp;
 size_t size;
 int ret;
-// int i,n;
+int i,n;
 
   if (!nums) nums = sysconf(_SC_NPROCESSORS_CONF);
 #if !defined(OS_LINUX)