From: Felix Fietkau Date: Sat, 22 Mar 2014 18:29:12 +0000 (+0100) Subject: add missing prototype for uclient_backend_set_error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e5604d1d1abf7b6fd82d95da31c7718925e11fc;p=project%2Fuclient.git add missing prototype for uclient_backend_set_error Signed-off-by: Felix Fietkau --- diff --git a/uclient-backend.h b/uclient-backend.h index 47de675..abbfbc6 100644 --- a/uclient-backend.h +++ b/uclient-backend.h @@ -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); diff --git a/uclient.c b/uclient.c index 4125dc2..9453365 100644 --- 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;