diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2016-04-19 12:06:15 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-04-21 18:54:41 +0300 |
commit | c429d80c4f38b46486d65a7c397eb42ac5008176 (patch) | |
tree | 54b71b2c7093b2710d594bc592b8a5c1764c0990 /include/odp/api/spec/cpu.h | |
parent | 06a0379a3dcc100e08616be24646935402d720dc (diff) |
api: make only the API visible
Internal functions should not be part of symbols that are visible
outside the library. Using -fvisibility=hidden hides all internal
functions from the public ABI.
Suggested-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/spec/cpu.h')
-rw-r--r-- | include/odp/api/spec/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/odp/api/spec/cpu.h b/include/odp/api/spec/cpu.h index f0e20c458..27895119c 100644 --- a/include/odp/api/spec/cpu.h +++ b/include/odp/api/spec/cpu.h @@ -13,6 +13,7 @@ #ifndef ODP_CPU_H_ #define ODP_CPU_H_ +#include <odp/api/visibility_begin.h> #ifdef __cplusplus extern "C" { @@ -176,4 +177,5 @@ void odp_cpu_pause(void); } #endif +#include <odp/api/visibility_end.h> #endif |