Fix compilation error on macOS
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 28 Nov 2018 16:57:04 +0000 (17:57 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 28 Nov 2018 16:57:04 +0000 (17:57 +0100)
intern/numaapi/source/numaapi.c
intern/numaapi/source/numaapi_stub.c

index ddd9199eefff3254601d4701eed3aefbcca0e5e2..11b14d03451ca6f647e6cbb4fe9147e4d3946d1a 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <assert.h>
 
-// Get string representation of NUMAPIResult.
 const char* numaAPI_ResultAsString(NUMAAPI_Result result) {
   switch (result) {
     case NUMAAPI_SUCCESS: return "SUCCESS";
index 318fd72369dcade32b21bcf18d324c8bbbcec46b..b850e43e195f4b1bceab808bb92b9d7beab4aa8a 100644 (file)
@@ -31,8 +31,8 @@
 ////////////////////////////////////////////////////////////////////////////////
 // Initialization.
 
-NUMAPIResult numaAPI_Initialize(void) {
-  return UMAAPI_NOT_AVAILABLE;
+NUMAAPIResult numaAPI_Initialize(void) {
+  return NUMAAPI_NOT_AVAILABLE;
 }
 
 ////////////////////////////////////////////////////////////////////////////////