summaryrefslogtreecommitdiffstats
path: root/gl/xmalloc.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2009-05-20 00:32:10 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2009-05-20 00:32:10 +0200
commit50b3ff7b91e78a61aca93247bee586d6d7eb27c8 (patch)
treedb4c7eee24479ac7ee6888ce1562facf60159b71 /gl/xmalloc.c
parent2701ccd500e60537a8c2977a81549ff33eeaef3f (diff)
downloadmonitoring-plugins-50b3ff7b91e78a61aca93247bee586d6d7eb27c8.tar.gz
Sync with the latest Gnulib code (cb75dc5)
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
Diffstat (limited to 'gl/xmalloc.c')
-rw-r--r--gl/xmalloc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gl/xmalloc.c b/gl/xmalloc.c
index 89ecf17a..585fb4b1 100644
--- a/gl/xmalloc.c
+++ b/gl/xmalloc.c
@@ -1,7 +1,7 @@
1/* xmalloc.c -- malloc with out of memory checking 1/* xmalloc.c -- malloc with out of memory checking
2 2
3 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008 Free Software Foundation, 4 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008-2009 Free Software Foundation,
5 Inc. 5 Inc.
6 6
7 This program is free software: you can redistribute it and/or modify 7 This program is free software: you can redistribute it and/or modify
@@ -28,10 +28,6 @@
28#include <stdlib.h> 28#include <stdlib.h>
29#include <string.h> 29#include <string.h>
30 30
31#ifndef SIZE_MAX
32# define SIZE_MAX ((size_t) -1)
33#endif
34
35/* 1 if calloc is known to be compatible with GNU calloc. This 31/* 1 if calloc is known to be compatible with GNU calloc. This
36 matters if we are not also using the calloc module, which defines 32 matters if we are not also using the calloc module, which defines
37 HAVE_CALLOC and supports the GNU API even on non-GNU platforms. */ 33 HAVE_CALLOC and supports the GNU API even on non-GNU platforms. */