From: xoviat Date: Sun, 24 Jan 2021 04:12:17 +0000 (-0600) Subject: add functions for embedded X-Git-Tag: upstream/0.3.21~21^2~34^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e8d6e869030843fec421831ed6388d84915c7c7;p=platform%2Fupstream%2Fopenblas.git add functions for embedded --- diff --git a/driver/others/memory.c b/driver/others/memory.c index 2fb1f1f..b430fd5 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -1673,6 +1673,11 @@ void gotoblas_dummy_for_PGI(void) { #define ALLOC_MALLOC #else #define ALLOC_MALLOC + +inline int puts(const char *str) { return 0; } +inline int printf(const char *format, ...) { return 0; } +inline char *getenv(const char *name) { return ""; } +inline int atoi(const char *str) { return 0; } #endif #include