diff dmd2/html.h @ 1452:638d16625da2

LDC 2 compiles again.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 30 May 2009 17:23:32 +0100
parents f04dde6e882c
children
line wrap: on
line diff
--- a/dmd2/html.h	Thu May 28 00:07:21 2009 +0200
+++ b/dmd2/html.h	Sat May 30 17:23:32 2009 +0100
@@ -1,9 +1,8 @@
 
-// Compiler implementation of the D programming language
 // Copyright (c) 1999-2006 by Digital Mars
 // All Rights Reserved
 // written by Walter Bright
-// http://www.digitalmars.com
+// www.digitalmars.com
 // License for redistribution is by either the Artistic License
 // in artistic.txt, or the GNU General Public License in gnu.txt.
 // See the included readme.txt for details.
@@ -27,7 +26,7 @@
 
     Html(const char *sourcename, unsigned char *base, unsigned length);
 
-    void error(const char *format, ...);
+    void error(const char *format, ...) IS_PRINTF(2);
     void extractCode(OutBuffer *buf);
     void skipTag();
     void skipString();