projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bugs.
[pintos-anon]
/
src
/
lib
/
string.c
diff --git
a/src/lib/string.c
b/src/lib/string.c
index cb042f02242d02a2090f6566016fb45f67c0df21..8971fae21b3c4d6da492b2e54614dbb3e6f8e058 100644
(file)
--- a/
src/lib/string.c
+++ b/
src/lib/string.c
@@
-1,4
+1,8
@@
#include <string.h>
#include <string.h>
+
+#ifdef KERNEL
+#define NDEBUG
+#endif
#include <debug.h>
/* Copies SIZE bytes from SRC to DST, which must not overlap.
#include <debug.h>
/* Copies SIZE bytes from SRC to DST, which must not overlap.