From b3a43699b3d8b8533910388eb9c489a00755d402 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 29 Sep 2021 00:55:32 +0800 Subject: fix demo --- tests/projects/c/library_with_cmakelists/foo/src/foo.c | 2 +- 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); -- cgit v1.3.1