X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flib%2Fstring.c;h=8971fae21b3c4d6da492b2e54614dbb3e6f8e058;hb=bc4d80ea366522bd5aa51d9c371c47deca10c69f;hp=cb042f02242d02a2090f6566016fb45f67c0df21;hpb=697b1e606a87d72840da039438f0d3325da5784d;p=pintos-anon diff --git a/src/lib/string.c b/src/lib/string.c index cb042f0..8971fae 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -1,4 +1,8 @@ #include + +#ifdef KERNEL +#define NDEBUG +#endif #include /* Copies SIZE bytes from SRC to DST, which must not overlap.