]> Joshua Wise's Git repositories - netwatch.git/commitdiff
don't set inline on memcpy; it makes gcc4 sad
authorJacob Potter <jdpotter@andrew.cmu.edu>
Sun, 14 Dec 2008 08:13:21 +0000 (03:13 -0500)
committerJacob Potter <jdpotter@andrew.cmu.edu>
Sun, 14 Dec 2008 08:13:21 +0000 (03:13 -0500)
lib/minilib.c

index 56090ed9389f9a8e1d0657649ca73438fc70203d..30412dbf7254c98c6e33277f1397966c0a800884 100644 (file)
@@ -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. */
This page took 0.029934 seconds and 4 git commands to generate.