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-20 21:14:04 +0300 |
commit | c917fb80a0ed6ad4676d0f65b416b58ac93b3194 (patch) | |
tree | 75a82b7ae8c10fa27c28c9847d4dfbe40060fc36 /include/odp/api/spec/traffic_mngr.h | |
parent | 54a607e4aace574eadbeb38c72d738e3b014061e (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/traffic_mngr.h')
-rw-r--r-- | include/odp/api/spec/traffic_mngr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h index ce124a83f..e4c15df39 100644 --- a/include/odp/api/spec/traffic_mngr.h +++ b/include/odp/api/spec/traffic_mngr.h @@ -6,6 +6,7 @@ #ifndef ODP_TRAFFIC_MNGR_H_ #define ODP_TRAFFIC_MNGR_H_ +#include <odp/api/visibility_begin.h> #ifdef __cplusplus extern "C" { @@ -1371,4 +1372,5 @@ void odp_tm_stats_print(odp_tm_t odp_tm); } #endif +#include <odp/api/visibility_end.h> #endif |