aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-08 23:57:26 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-08 23:57:26 +0000
commit793a10a2d435cb3e5d52bc06cf0a06191006148a (patch)
tree12d6849a83297f3d836879c56c535d0ca63d140b /qemu-common.h
parent4fc9af53d88c0a2a810704a06cb39a7182982e4e (diff)
downloadqemu-793a10a2d435cb3e5d52bc06cf0a06191006148a.zip
qemu-793a10a2d435cb3e5d52bc06cf0a06191006148a.tar.gz
qemu-793a10a2d435cb3e5d52bc06cf0a06191006148a.tar.bz2
Revert r5532, r5536 and a piece of r5531.
The use of strncat and strndup was correct, pstrcpy and pstrdup wasn't. I'll try to restore building on non-gnu OSes in a later commit. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5651 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-common.h b/qemu-common.h
index f23d7b4..2b7f7e1 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -89,7 +89,6 @@ int qemu_timedate_diff(struct tm *tm);
/* cutils.c */
void pstrcpy(char *buf, int buf_size, const char *str);
char *pstrcat(char *buf, int buf_size, const char *s);
-char *pstrdup(const char *str, size_t buf_size);
int strstart(const char *str, const char *val, const char **ptr);
int stristart(const char *str, const char *val, const char **ptr);
time_t mktimegm(struct tm *tm);