From 0e5604d1d1abf7b6fd82d95da31c7718925e11fc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 22 Mar 2014 19:29:12 +0100 Subject: [PATCH] add missing prototype for uclient_backend_set_error Signed-off-by: Felix Fietkau --- uclient-backend.h | 1 + uclient.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2