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 47de675..abbfbc6 100644 (file)
@@ -28,6 +28,7 @@ struct uclient_url {
        const char *auth;
 };
 
        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);
 
 void uclient_backend_set_eof(struct uclient *cl);
 void uclient_backend_reset_state(struct uclient *cl);
 
index 4125dc2..9453365 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);
 }
 
        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;
 {
        if (cl->error)
                return;