~ubuntu-branches/ubuntu/jaunty/xvidcap/jaunty-proposed

« back to all changes in this revision

Viewing changes to src/realloc.c

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-25 15:47:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080225154712-qvr11ekcea4c9ry8
Tags: 1.1.6-0.1ubuntu1
* Merge from debian-multimedia (LP: #120003), Ubuntu Changes:
 - For ffmpeg-related build-deps, remove cvs from package names.
 - Standards-Version 3.7.3
 - Maintainer Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#if HAVE_CONFIG_H 
2
 
# include <config.h> 
3
 
#endif 
4
 
#undef realloc
5
 
 
6
 
#include <sys/types.h>
7
 
 
8
 
void *realloc ();
9
 
 
10
 
/* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */
11
 
 
12
 
void * rpl_realloc (size_t n) { if (n == 0) n = 1; return realloc (n); }