/[path-sandbox]/trunk/libsbutil/src/dynbuf.c
Gentoo

Diff of /trunk/libsbutil/src/dynbuf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 369 Revision 370
6 * Copyright 1999-2008 Gentoo Foundation 6 * Copyright 1999-2008 Gentoo Foundation
7 * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org> 7 * Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org>
8 * Licensed under the GPL-2 8 * Licensed under the GPL-2
9 */ 9 */
10 10
11#include <stdarg.h> 11#include "headers.h"
12#include <stdio.h>
13#include <stdlib.h>
14#include <string.h>
15#include <unistd.h>
16
17#include "rcscripts/rcutil.h" 12#include "rcscripts/rcutil.h"
18 13
19#define DYNAMIC_BUFFER_SIZE (sizeof (char) * 2 * 1024) 14#define DYNAMIC_BUFFER_SIZE (sizeof (char) * 2 * 1024)
20 15
21static rc_dynbuf_t *rc_dynbuf_reallocate (rc_dynbuf_t *dynbuf, size_t needed); 16static rc_dynbuf_t *rc_dynbuf_reallocate (rc_dynbuf_t *dynbuf, size_t needed);

Legend:
Removed from v.369  
changed lines
  Added in v.370

  ViewVC Help
Powered by ViewVC 1.1.20