output: Make errors, warnings, and notes into a new "message_item".
[pspp] / src / libpspp / array.c
index e4d269373e8310dd5763fcaca4c638161e2f340a..942974c8cf42114ef39cece0fb52ae0e3355904a 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2010 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <limits.h>
 #include <stdlib.h>
 #include <string.h>
-#include "alloc.h"
 #include <libpspp/assertion.h>
 
-#include "message.h"
-
+#include "xalloc.h"
 #include "minmax.h"
 \f
 /* Finds an element in ARRAY, which contains COUNT elements of
@@ -372,7 +370,7 @@ insert_range (void *array_, size_t count, size_t size,
 /* Makes room for a new element at IDX in ARRAY, which initially
    consists of COUNT elements of SIZE bytes each, by shifting
    elements IDX...COUNT (exclusive) to the right by one
-   positions. */
+   position. */
 void
 insert_element (void *array, size_t count, size_t size,
                 size_t idx)