]> git.sur5r.net Git - cc65/blobdiff - src/common/check.c
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / src / common / check.c
index d96d94a35839c49ea1f2123f9b60442d74e88ad0..cb4589bf99c2a9f7bd0cc8c901c92da8334f1254 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                 check.c                                  */
+/*                                  check.c                                  */
 /*                                                                           */
-/*                           Assert like macros                             */
+/*                            Assert like macros                             */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
 /* Predefined messages */
-const char* MsgInternalError   = "Internal error: ";
-const char* MsgPrecondition    = "Precondition violated: ";
-const char* MsgCheckFailed     = "Check failed: ";
-const char* MsgProgramAborted  = "Program aborted: ";
+const char* MsgInternalError    = "Internal error: ";
+const char* MsgPrecondition     = "Precondition violated: ";
+const char* MsgCheckFailed      = "Check failed: ";
+const char* MsgProgramAborted   = "Program aborted: ";
 
 
 
 static void DefaultCheckFailed (const char* msg, const char* cond,
-                               const char* file, unsigned line)
-                               attribute ((noreturn));
+                                const char* file, unsigned line)
+                                attribute ((noreturn));
 
 void (*CheckFailed) (const char* Msg, const char* Cond,
-                            const char* File, unsigned Line) attribute ((noreturn))
-               = DefaultCheckFailed;
+                     const char* File, unsigned Line) attribute ((noreturn))
+                = DefaultCheckFailed;
 /* Function pointer that is called from check if the condition code is true. */
 
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
 
 static void DefaultCheckFailed (const char* Msg, const char* Cond,
-                               const char* File, unsigned Line)
+                                const char* File, unsigned Line)
 {
     /* Output a diagnostic and abort */
     AbEnd ("%s%s, file `%s', line %u", Msg, Cond, File, Line);