pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/pool.h


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/pool.h
Date: Tue, 01 Mar 2005 03:16:34 -0500

Index: pspp/src/pool.h
diff -u pspp/src/pool.h:1.3 pspp/src/pool.h:1.4
--- pspp/src/pool.h:1.3 Thu Feb 12 08:19:50 2004
+++ pspp/src/pool.h     Tue Mar  1 08:16:15 2005
@@ -39,13 +39,14 @@
 void pool_clear (struct pool *);
 
 /* Suballocation routines. */
-void *pool_alloc (struct pool *, size_t);
-char *pool_strdup (struct pool *, const char *);
-char *pool_strndup (struct pool *, const char *, size_t);
-char *pool_strcat (struct pool *, const char *, ...);
+void *pool_alloc (struct pool *, size_t) MALLOC_LIKE;
+void *pool_clone (struct pool *, const void *, size_t) MALLOC_LIKE;
+char *pool_strdup (struct pool *, const char *) MALLOC_LIKE;
+char *pool_strndup (struct pool *, const char *, size_t) MALLOC_LIKE;
+char *pool_strcat (struct pool *, const char *, ...) MALLOC_LIKE;
 
 /* Standard allocation routines. */
-void *pool_malloc (struct pool *, size_t);
+void *pool_malloc (struct pool *, size_t) MALLOC_LIKE;
 void *pool_realloc (struct pool *, void *, size_t);
 void pool_free (struct pool *, void *);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]