Storage class should be specified after a type.
Signed-off-by: Zhiqi Song songzhiqi1@huawei.com --- src/e_uadk.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/e_uadk.c b/src/e_uadk.c index cd97194..5aaf113 100644 --- a/src/e_uadk.c +++ b/src/e_uadk.c @@ -88,13 +88,11 @@ static const ENGINE_CMD_DEFN g_uadk_cmd_defns[] = { } };
-__attribute__((constructor)) -static void uadk_constructor(void) +static void __attribute__((constructor)) uadk_constructor(void) { }
-__attribute__((destructor)) -static void uadk_destructor(void) +static void __attribute__((destructor)) uadk_destructor(void) { }