projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(parse_rank_function) Fix msg() bug found by -Wformat.
[pspp]
/
src
/
alloc.h
diff --git
a/src/alloc.h
b/src/alloc.h
index b44f0f38b51ba8cbe8cc9e23c8c0beceed7b764e..c14bc7a904730d087be7bd84264105bf79bb1276 100644
(file)
--- a/
src/alloc.h
+++ b/
src/alloc.h
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#if !alloc_h
#define alloc_h 1
#if !alloc_h
#define alloc_h 1
@@
-24,9
+24,10
@@
/* malloc() wrapper functions. */
void *xmalloc (size_t size);
/* malloc() wrapper functions. */
void *xmalloc (size_t size);
-void *xcalloc (size_t size);
+void *xcalloc (size_t
n_memb, size_t
size);
void *xrealloc (void *ptr, size_t size);
char *xstrdup (const char *s);
void *xrealloc (void *ptr, size_t size);
char *xstrdup (const char *s);
+void out_of_memory (void) NO_RETURN;
\f
/* alloca() wrapper functions. */
#if defined (HAVE_ALLOCA) || defined (C_ALLOCA)
\f
/* alloca() wrapper functions. */
#if defined (HAVE_ALLOCA) || defined (C_ALLOCA)