add missing prototype for uclient_backend_set_error
authorFelix Fietkau <nbd@openwrt.org>
Sat, 22 Mar 2014 18:29:12 +0000 (19:29 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 22 Mar 2014 18:29:12 +0000 (19:29 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-backend.h
uclient.c

index 47de675eff462e185c2e7f478590b9f87f153d12..abbfbc683bd1e7ff2168c53eaaf45aa58648ebb2 100644 (file)
@@ -28,6 +28,7 @@ struct uclient_url {
        const char *auth;
 };
 
+void uclient_backend_set_error(struct uclient *cl);
 void uclient_backend_set_eof(struct uclient *cl);
 void uclient_backend_reset_state(struct uclient *cl);
 
index 4125dc238c42cac8056675c3e2eb248f4d090f8b..94533652bdc7e185b5bbc4ce7066020557b8a5e2 100644 (file)
--- a/uclient.c
+++ b/uclient.c
@@ -184,7 +184,7 @@ static void uclient_backend_change_state(struct uclient *cl)
        uloop_timeout_set(&cl->timeout, 1);
 }
 
-void uclient_backend_set_error(struct uclient *cl)
+void __hidden uclient_backend_set_error(struct uclient *cl)
 {
        if (cl->error)
                return;