From 695953440565103964e816e7326c66f3d171c3e0 Mon Sep 17 00:00:00 2001 From: jimi-wzq <wangzhengquan85@gmail.com> Date: 星期六, 01 八月 2020 10:48:18 +0800 Subject: [PATCH] fix conflict --- test/test.c | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/test/test.c b/test/test.c index 744ac72..b978ef2 100644 --- a/test/test.c +++ b/test/test.c @@ -1,12 +1,5 @@ #include "usg_common.h" #include "usg_typedef.h" - -void test(char *src, int size) { - char dest[size]; - strncpy(dest, src, size); - puts(dest); -} + int main() { - char *str = "hello"; - test(str, strlen(str)); } \ No newline at end of file -- Gitblit v1.8.0