zephyr/tests/subsys/llext/src/export_dependency_ext.c
Tom Burdick 73f1156c5e llext: Remove simple from llext test
The simple path and naming wasn't really right, there are no other tests
and the test suite has become quite automated and extensable to cover
most things we'd like to test with llext. Building, loading, and linking
of course.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2025-01-02 09:19:35 +01:00

16 lines
273 B
C

/*
* Copyright (c) 2024 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Test exporting symbols, imported by other LLEXTs */
#include <zephyr/llext/symbol.h>
long test_dependency(int a, int b)
{
return (long)a * b;
}
EXPORT_SYMBOL(test_dependency);