Merge remote-tracking branch 'origin/release-v4.5.2'
[WRF.git] / var / da / makedepf90-2.8.8 / xmalloc.h
blob8c19990c207ed489c261a087a21ef28c21fbbc6f
1 /*
2 * Copyright (C) 2000-2005 Erik Edelmann <Erik.Edelmann@iki.fi>
4 * This program is free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License version 2 as published by the Free Software
7 * Foundation.
9 * This program is distributed in the hope that it will be
10 * useful, but WITHOUT ANY WARRANTY; without even the implied
11 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 * PURPOSE. See the GNU General Public License for more
13 * details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the Free
17 * Software Foundation, Inc., 59 Temple Place, Suite 330,
18 * Boston, MA 02111-1307 USA
21 #ifndef XMALLOC_H_
22 #define XMALLOC_H_
24 void *xmalloc (size_t bytes);
25 void *xrealloc(void *ptr, size_t size);
26 char *xstrdup (const char *str);
27 char *xstrndup (const char *str, size_t maxl);
29 #endif /* XMALLOC_H_ */