X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4c36ddbeecdde407c870109d70527640ca127ace..79a51e7ee68097b98bc2234b70d16c011bdc3608:/util.c diff --git a/util.c b/util.c index b95e0b45..6470bf97 100644 --- a/util.c +++ b/util.c @@ -553,3 +553,9 @@ int slprintf(char *str, int n, char *format, ...) return ret; } + +void *Realloc(void *p, int size) +{ + if (!p) return (void *)malloc(size); + return (void *)realloc(p, size); +}