[master] e0d21c9 Try to pay attention to actual C-syntax

Poul-Henning Kamp phk at varnish-cache.org
Mon Feb 7 10:48:27 CET 2011


commit e0d21c963bcabf84bf753248a483e78e632318ae
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 7 09:48:00 2011 +0000

    Try to pay attention to actual C-syntax
    
    Reminded about again by:	Ralph Corderoy <ralph at inputplus.co.uk>

diff --git a/doc/sphinx/phk/platforms.rst b/doc/sphinx/phk/platforms.rst
index 4e2d617..2b60443 100644
--- a/doc/sphinx/phk/platforms.rst
+++ b/doc/sphinx/phk/platforms.rst
@@ -14,7 +14,7 @@ But making your program run on everything is hard work very hard work.
 
 For instance, did you know that:
 
-	sizeof(void*) != sizeof(const * void)
+	sizeof(void*) != sizeof(void * const)
 
 is legal in a ISO-C compliant environment ?
 



More information about the varnish-commit mailing list