From: Jacob Potter Date: Sun, 14 Dec 2008 08:13:21 +0000 (-0500) Subject: don't set inline on memcpy; it makes gcc4 sad X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/20d44251fa01c2f55f175fe9d1d3f284daa8dc60?ds=inline;hp=-c don't set inline on memcpy; it makes gcc4 sad --- 20d44251fa01c2f55f175fe9d1d3f284daa8dc60 diff --git a/lib/minilib.c b/lib/minilib.c index 56090ed..30412db 100644 --- a/lib/minilib.c +++ b/lib/minilib.c @@ -6,7 +6,7 @@ * For small things, gcc inlines its memcpy, but for large things, we call out * to this memcpy. */ -inline void _memcpy(void *dest, const void *src, int bytes) +void _memcpy(void *dest, const void *src, int bytes) { /* I hate everyone */ /* Since we otherwise compile with -O0, we might as well manually speed this up a bit. */