+2008-01-07 Guillem Jover <guillem@debian.org>
+
+ * lib/nfmalloc.c (nfmalloc): Remove inline keyword as extern inline
+ changes semantics from GNU C to C99.
+ * lib/varbuf.c (varbufaddc): Likewise.
+
2008-01-07 Guillem Jover <guillem@debian.org>
* dpkg-deb/extract.c (extracthalf): Move negative member length check
obstack_chunk_size(&db_obs) = CHUNK_SIZE;
}
-inline void *nfmalloc(size_t size)
+void *
+nfmalloc(size_t size)
{
OBSTACK_INIT;
return obstack_alloc(&db_obs, size);
#include <dpkg.h>
#include <dpkg-db.h>
-inline void varbufaddc(struct varbuf *v, int c) {
+void
+varbufaddc(struct varbuf *v, int c)
+{
if (v->used >= v->size) varbufextend(v);
v->buf[v->used++]= c;
}