From 5de112c239ab97ebaba5a935d29504bff0586be7 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Fri, 30 Jun 2017 14:56:19 +0530 Subject: include: Remove datatype_register(). Remove datatype_register() function and its calling __init functions. Add arguments of datatype_register() function to datatype array. Signed-off-by: Varsha Rao Signed-off-by: Pablo Neira Ayuso --- include/meta.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/meta.h') diff --git a/include/meta.h b/include/meta.h index 55784609..47b16c4b 100644 --- a/include/meta.h +++ b/include/meta.h @@ -28,10 +28,15 @@ extern struct expr *meta_expr_alloc(const struct location *loc, struct stmt *meta_stmt_meta_iiftype(const struct location *loc, uint16_t type); -const struct datatype ifindex_type; - struct error_record *meta_key_parse(const struct location *loc, const char *name, unsigned int *value); +extern const struct datatype ifindex_type; +extern const struct datatype tchandle_type; +extern const struct datatype gid_type; +extern const struct datatype uid_type; +extern const struct datatype devgroup_type; +extern const struct datatype pkttype_type; + #endif /* NFTABLES_META_H */ -- cgit v1.2.3