summaryrefslogtreecommitdiff
path: root/lib/librte_meter
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-06-29 13:58:52 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-06-29 19:04:43 +0200
commitcfe3aeb170b2f6277e6f96173599da51eab0654f (patch)
treea1f82083a6dd2eae41990d853d58c2a89764f9db /lib/librte_meter
parentba4edc8f27a71724280bf1776d5f1253ab87b298 (diff)
downloaddpdk-cfe3aeb170b2f6277e6f96173599da51eab0654f.zip
dpdk-cfe3aeb170b2f6277e6f96173599da51eab0654f.tar.gz
dpdk-cfe3aeb170b2f6277e6f96173599da51eab0654f.tar.xz
remove experimental tags from all symbol definitions
We had some inconsistencies between functions prototypes and actual definitions. Let's avoid this by only adding the experimental tag to the prototypes. Tests with gcc and clang show it is enough. git grep -l __rte_experimental |grep \.c$ |while read file; do sed -i -e '/^__rte_experimental$/d' $file; sed -i -e 's/ *__rte_experimental//' $file; sed -i -e 's/__rte_experimental *//' $file; done Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'lib/librte_meter')
-rw-r--r--lib/librte_meter/rte_meter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_meter/rte_meter.c b/lib/librte_meter/rte_meter.c
index 4567944..da01429 100644
--- a/lib/librte_meter/rte_meter.c
+++ b/lib/librte_meter/rte_meter.c
@@ -119,7 +119,7 @@ rte_meter_trtcm_config(struct rte_meter_trtcm *m,
return 0;
}
-int __rte_experimental
+int
rte_meter_trtcm_rfc4115_profile_config(
struct rte_meter_trtcm_rfc4115_profile *p,
struct rte_meter_trtcm_rfc4115_params *params)
@@ -144,7 +144,7 @@ rte_meter_trtcm_rfc4115_profile_config(
return 0;
}
-int __rte_experimental
+int
rte_meter_trtcm_rfc4115_config(
struct rte_meter_trtcm_rfc4115 *m,
struct rte_meter_trtcm_rfc4115_profile *p)