diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-10-10 12:00:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-10-10 12:00:53 +0000 |
commit | b7c7fc0bd7b2a8590867c5e3060bfae9606020c7 (patch) | |
tree | e95d96f84b77b03a8e4ae6b3ebc772329ae7f3d0 /lib/libc/stdio/vasprintf.c | |
parent | 39528b504c0ce66fdd1d03b71ff3b0f9f3fd1eb0 (diff) |
Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br>
Thanks.
Diffstat (limited to 'lib/libc/stdio/vasprintf.c')
-rw-r--r-- | lib/libc/stdio/vasprintf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vasprintf.c b/lib/libc/stdio/vasprintf.c index 77114bb1d1b..7b56e507fbb 100644 --- a/lib/libc/stdio/vasprintf.c +++ b/lib/libc/stdio/vasprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vasprintf.c,v 1.11 2005/08/08 08:05:36 espie Exp $ */ +/* $OpenBSD: vasprintf.c,v 1.12 2005/10/10 12:00:52 espie Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -18,6 +18,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <errno.h> #include "local.h" |