]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - error.c
Merge branch 'master' into ast-and-ir
[xonotic/gmqcc.git] / error.c
diff --git a/error.c b/error.c
index 2f96caf9ab2a14a324906aae9b57fed4978270f7..592416a8154d1f3ffd5478faf77623c2647da038 100644 (file)
--- a/error.c
+++ b/error.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012 
+ * Copyright (C) 2012
  *     Dale Weiler
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -57,11 +57,11 @@ static const char *const error_list[] = {
     "Preprocessor Error:"
 };
 
-int error(struct lex_file *file, int status, const char *msg, ...) {
+int error(lex_file *file, int status, const char *msg, ...) {
     char      bu[1024*4]; /* enough? */
     char      fu[1024*4]; /* enough? */
     va_list   va;
-    
+
     if (error_total + 1 > error_max) {
         fprintf(stderr, "%d errors and more following, bailing\n", error_total);
         exit (-1);
@@ -83,8 +83,8 @@ int error(struct lex_file *file, int status, const char *msg, ...) {
 #    ifndef WIN32
     fputs    ("\033[0m", stderr);
 #    endif
-    
+
     fflush   (stderr);
-    
+
     return status;
 }