aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2015-03-28 23:12:47 +0000
committerokan2015-03-28 23:12:47 +0000
commit9bb42946a8791addade91b9e9379f94b144429f7 (patch)
treeb25fc6d5b689346d70e6ed6da0e53631bfbba475 /calmwm.h
parentbb5e4d99f201e4ec5894c69664775998925ad2d0 (diff)
downloadcwm-9bb42946a8791addade91b9e9379f94b144429f7.tar.gz
Introduce a xreallocarray and convert a few xcalloc instances that do
not require zero'ing.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 03783cd..748db69 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.285 2015/03/26 21:41:43 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.286 2015/03/28 23:12:47 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -559,6 +559,7 @@ void u_spawn(char *);
void *xcalloc(size_t, size_t);
void *xmalloc(size_t);
+void *xreallocarray(void *, size_t, size_t);
char *xstrdup(const char *);
int xasprintf(char **, const char *, ...)
__attribute__((__format__ (printf, 2, 3)))