]> andersk Git - splint.git/blobdiff - src/messageLog.c
noexpand always false.
[splint.git] / src / messageLog.c
index 56470da280b1519a52b58c53b7a53ccf76b8dfd9..b5db2e3cfe99214d440de225703a23128bebe898 100644 (file)
@@ -1,6 +1,6 @@
 /*
-** LCLint - annotation-assisted static program checker
-** Copyright (C) 1994-2000 University of Virginia,
+** Splint - annotation-assisted static program checker
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
-** For more information: http://lclint.cs.virginia.edu
+** For information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
+** For more information: http://www.splint.org
 */
 /*
 ** messageLog.c (from slist_template.c)
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 /*@only@*/ messageLog
@@ -51,6 +51,13 @@ msgentry_create (fileloc loc, cstring mess)
   return msg;
 }
 
+# ifdef S_SPLINT_S
+static /*@unused@*/ cstring msgentry_unparse (msgentry msg) /*@*/
+{
+  return message ("%q:%s", fileloc_unparse (msg->loc), msg->msg);
+}
+# endif
+
 static void msgentry_free (/*@only@*/ msgentry msg)
 {
   fileloc_free (msg->loc);
This page took 0.073012 seconds and 4 git commands to generate.