mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
(gtk) remove unused function "io_send"
This commit is contained in:
parent
402a18a84e
commit
6728ff934f
2 changed files with 0 additions and 12 deletions
|
@ -172,15 +172,6 @@ newsource(void) {
|
|||
return io;
|
||||
}
|
||||
|
||||
unsigned int
|
||||
io_send(GSource *source, const void *data, size_t len) {
|
||||
char *new = g_new(char, len);
|
||||
|
||||
memcpy(new, data, len);
|
||||
|
||||
return io_send_keepdata(source, new, len);
|
||||
}
|
||||
|
||||
unsigned int
|
||||
io_send_keepdata(GSource *source, void *data, size_t len) {
|
||||
struct iosource *io = (struct iosource*)source;
|
||||
|
|
|
@ -38,9 +38,6 @@ GSource *
|
|||
io_new_listening(int fd, socklen_t len, ionewfunc_t accepted,
|
||||
iofunc_t closed, void *cbdata);
|
||||
|
||||
unsigned int
|
||||
io_send(GSource *source, const void *data, size_t len);
|
||||
|
||||
unsigned int
|
||||
io_send_keepdata(GSource *source, void *data, size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue