mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-05 11:10:21 +00:00
ANSIfication of the hp2ps code. The most important changes are the correct use of the stdarg mechanism (former hacks could bite on other systems, so please tell upstream), inclusion of stdlib.h instead of declaring free yourself, adding a few missed PROTO()s and using size_t for xmalloc and xrealloc.: git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2399
18 lines
601 B
C
18 lines
601 B
C
/* This file is part of hp2ps, a graph drawer for memory profiles.
|
|
Copyright (C) 2002 The University Court of the University of Glasgow.
|
|
This program is governed by the license contained in the file LICENSE. */
|
|
|
|
#ifndef UTILITIES_H
|
|
#define UTILITIES_H
|
|
|
|
char* Basename PROTO((char *));
|
|
void DropSuffix PROTO((char *, char *));
|
|
FILE* OpenFile PROTO((char *, char *));
|
|
void CommaPrint PROTO((FILE *, intish));
|
|
char *copystring PROTO((char *));
|
|
char *copystring2 PROTO((char *, char *));
|
|
void *xmalloc PROTO((size_t));
|
|
void *xrealloc PROTO((void *, size_t));
|
|
|
|
#endif /* UTILITIES_H */
|