From 14e754b2f159d09bc5833bc9ba7e00178375ead3 Mon Sep 17 00:00:00 2001
From: Mick Jordan <mick.jordan@oracle.com>
Date: Thu, 9 Apr 2015 17:16:46 -0700
Subject: [PATCH] fix missing C return type

---
 com.oracle.truffle.r.native/library/base/src/registration.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/com.oracle.truffle.r.native/library/base/src/registration.c b/com.oracle.truffle.r.native/library/base/src/registration.c
index 72feb45ef8..ea4e3a81fd 100644
--- a/com.oracle.truffle.r.native/library/base/src/registration.c
+++ b/com.oracle.truffle.r.native/library/base/src/registration.c
@@ -77,7 +77,7 @@ static R_FortranMethodDef fortranMethods[] = {
     {NULL, NULL, 0}
 };
 
-R_init_base(DllInfo *dll)
+void R_init_base(DllInfo *dll)
 {
 //    R_registerRoutines(dll, NULL, callMethods, fortranMethods, NULL);
 	R_registerRoutines(dll, NULL, NULL, fortranMethods, NULL);
-- 
GitLab