]> git.sur5r.net Git - cc65/commitdiff
Added gcc attributes
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 14 Aug 2003 21:15:10 +0000 (21:15 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 14 Aug 2003 21:15:10 +0000 (21:15 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2317 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ar65/error.h
src/cl65/error.h
src/da65/error.h
src/ld65/error.h
src/sim65/error.h

index 61d2a039487847ef50ec982506868daa40c813f7..f7a5122e62b30dbfc015f1ab01a1ebea33a7e878 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 void Warning (const char* Format, ...) attribute((format(printf,1,2)));
 /* Print a warning message */
 
-void Error (const char* Format, ...) attribute((format(printf,1,2)));
+void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an error message and die */
 
-void Internal (const char* Format, ...) attribute((format(printf,1,2)));
+void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an internal error message and die */
 
 
index 755e91476e869580b7cc27e0140ccce56458ccd5..5517d91f212fc54dbdc428e8adbae47d3167ee76 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
-void Warning (const char* Format, ...);
+void Warning (const char* Format, ...) attribute((format(printf,1,2)));
 /* Print a warning message */
 
-void Error (const char* Format, ...);
+void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an error message and die */
 
-void Internal (const char* Format, ...);
+void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an internal error message and die */
 
 
index c75d96bd15e4ed56d24c9627fbe9eb170662193e..17fb87d4675bb695abf50fbcc64af85606a8006d 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 void Warning (const char* Format, ...) attribute((format(printf,1,2)));
 /* Print a warning message */
 
-void Error (const char* Format, ...) attribute((format(printf,1,2)));
+void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an error message and die */
 
-void Internal (const char* Format, ...) attribute((format(printf,1,2)));
+void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an internal error message and die */
 
 
index a29a0822986f6fd91deffff9571d75e37d25d264..b3d8ecfbcb20467a9e748c5be5fdd8a87b28df5c 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2000 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 void Warning (const char* Format, ...) attribute((format(printf,1,2)));
 /* Print a warning message */
 
-void Error (const char* Format, ...) attribute((format(printf,1,2)));
+void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an error message and die */
 
-void Internal (const char* Format, ...) attribute((format(printf,1,2)));
+void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an internal error message and die */
 
-                                                                            
+
 
 /* End of error.h */
 
index 92d4cb253caee05c9d20bd6724aa678b425b74c6..8a50bab07c7676ee1a8b2422e42286146ee17a16 100644 (file)
 void Warning (const char* Format, ...) attribute((format(printf,1,2)));
 /* Print a warning message */
 
-void Error (const char* Format, ...) attribute((format(printf,1,2)));
+void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an error message and die */
 
-void Internal (const char* Format, ...) attribute((format(printf,1,2)));
+void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
 /* Print an internal error message and die */