diff options
author | wiz <wiz@pkgsrc.org> | 2012-04-07 15:09:23 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-04-07 15:09:23 +0000 |
commit | dff39f2a5446673777553f3f148bf6581586dce0 (patch) | |
tree | f83ec298bde3fd7351eaa24f5ca6413e3b55206b /net/libfetch/files/http.c | |
parent | fce7596a892d40b4f8e8bb4f768fd684d079429e (diff) | |
download | pkgsrc-dff39f2a5446673777553f3f148bf6581586dce0.tar.gz |
Fix build with clang.
Diffstat (limited to 'net/libfetch/files/http.c')
-rw-r--r-- | net/libfetch/files/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c index c6d0d80ccfc..882fc4108aa 100644 --- a/net/libfetch/files/http.c +++ b/net/libfetch/files/http.c @@ -1,4 +1,4 @@ -/* $NetBSD: http.c,v 1.30 2011/01/23 18:37:31 agc Exp $ */ +/* $NetBSD: http.c,v 1.31 2012/04/07 15:09:23 wiz Exp $ */ /*- * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav * Copyright (c) 2003 Thomas Klausner <wiz@NetBSD.org> @@ -133,6 +133,7 @@ #define HTTP_ERROR(xyz) ((xyz) > 400 && (xyz) < 599) +static int http_cmd(conn_t *, const char *, ...) __printflike(2, 3); /***************************************************************************** * I/O functions for decoding chunked streams |