From 17d504557632ccc6b9b1195b1f0f6c3ff2359ef6 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期二, 28 七月 2020 17:40:12 +0800
Subject: [PATCH] hashtable
---
test/test.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/test/test.c b/test/test.c
index 744ac72..d1193a6 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,12 +1,7 @@
#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
+}
+
\ No newline at end of file
--
Gitblit v1.8.0