Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix codetest failures - trailing spaces and linelength, update copyright

  • Loading branch information...
commit 9a8864601871b4f4c2ef11e651e848f124acd03b 1 parent c282bfc
@mikehh mikehh authored
Showing with 7 additions and 5 deletions.
  1. +5 −3 compilers/imcc/debug.c
  2. +2 −2 include/parrot/memory.h
View
8 compilers/imcc/debug.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2002-2010, Parrot Foundation.
+ * Copyright (C) 2002-2011, Parrot Foundation.
*/
/*
@@ -66,7 +66,7 @@ IMCC_fatal(ARGMOD(imc_info_t * imcc), SHIM(int code), ARGIN(const char *fmt), ..
"error:imcc:%Ss\n\t%Ss",
Parrot_vsprintf_c(imcc->interp, fmt, ap),
location));
- va_end(ap);
+ va_end(ap);
Parrot_ex_throw_from_c_args(imcc->interp, NULL, IMCC_FATAL_EXCEPTION,
"%Ss", imcc->error_message);
}
@@ -183,7 +183,9 @@ IMCC_warning(ARGMOD(imc_info_t * imcc), ARGIN(const char *fmt), ...)
ASSERT_ARGS(IMCC_warning)
va_list ap;
va_start(ap, fmt);
- imcc->error_message = Parrot_str_concat(imcc->interp, imcc->error_message, Parrot_vsprintf_c(imcc->interp, fmt, ap));
+ imcc->error_message = Parrot_str_concat(imcc->interp,
+ imcc->error_message,
+ Parrot_vsprintf_c(imcc->interp, fmt, ap));
va_end(ap);
}
View
4 include/parrot/memory.h
@@ -1,5 +1,5 @@
/* memory.h
- * Copyright (C) 2001-2010, Parrot Foundation.
+ * Copyright (C) 2001-2011, Parrot Foundation.
* Overview:
* This is the API header for the memory subsystem
* Data Structure and Algorithms:
@@ -103,7 +103,7 @@ PARROT_MALLOC
PARROT_CANNOT_RETURN_NULL
char * mem_sys_strdup(ARGIN(const char *src))
__attribute__nonnull__(1);
-
+
PARROT_EXPORT
PARROT_MALLOC
PARROT_CANNOT_RETURN_NULL
Please sign in to comment.
Something went wrong with that request. Please try again.