projects
/
oweals
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95fa603
)
add missing prototype for uclient_backend_set_error
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 22 Mar 2014 18:29:12 +0000
(19:29 +0100)
committer
Felix 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
patch
|
blob
|
history
uclient.c
patch
|
blob
|
history
diff --git
a/uclient-backend.h
b/uclient-backend.h
index 47de675eff462e185c2e7f478590b9f87f153d12..abbfbc683bd1e7ff2168c53eaaf45aa58648ebb2 100644
(file)
--- 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 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;