diff options
| author | ruki <[email protected]> | 2021-09-29 00:55:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-29 00:55:32 +0800 |
| commit | b3a43699b3d8b8533910388eb9c489a00755d402 (patch) | |
| tree | f02d84499427f03a3b76b636599de14942f9d617 | |
| parent | 89d9924b0f86e2d650bfc719d87e9484ba52efcf (diff) | |
fix demo
| -rw-r--r-- | tests/projects/c/library_with_cmakelists/foo/src/foo.c | 2 | ||||
| -rw-r--r-- | tests/projects/c/library_with_cmakelists/foo/src/foo.h | 9 |
2 files changed, 2 insertions, 9 deletions
diff --git a/tests/projects/c/library_with_cmakelists/foo/src/foo.c b/tests/projects/c/library_with_cmakelists/foo/src/foo.c index 598d07560..08054d059 100644 --- a/tests/projects/c/library_with_cmakelists/foo/src/foo.c +++ b/tests/projects/c/library_with_cmakelists/foo/src/foo.c @@ -1,4 +1,4 @@ -#include "interface.h" +#include "foo.h" int add(int a, int b) { diff --git a/tests/projects/c/library_with_cmakelists/foo/src/foo.h b/tests/projects/c/library_with_cmakelists/foo/src/foo.h index 6c2aa9c2a..6295ab95c 100644 --- a/tests/projects/c/library_with_cmakelists/foo/src/foo.h +++ b/tests/projects/c/library_with_cmakelists/foo/src/foo.h @@ -1,8 +1 @@ -/*! calculate add(a, b) - * - * @param a the first argument - * @param b the second argument - * - * @return the result - */ -int add(int a, int b); +int add(int a, int b); |
