1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Change uxsel_input_add's return type from int to pointer.

In case a front end needs to store more than an integer id to be
returned to uxsel_input_remove, we now return a pointer to a
frontend-defined structure.
This commit is contained in:
Simon Tatham
2015-08-16 12:50:46 +01:00
parent 0413cc856c
commit b5423b51d4
6 changed files with 25 additions and 14 deletions

View File

@ -88,8 +88,8 @@ void pageant_log(void *ctx, const char *fmt, va_list ap)
* In Pageant our selects are synchronous, so these functions are
* empty stubs.
*/
int uxsel_input_add(int fd, int rwx) { return 0; }
void uxsel_input_remove(int id) { }
uxsel_id *uxsel_input_add(int fd, int rwx) { return NULL; }
void uxsel_input_remove(uxsel_id *id) { }
/*
* More stubs.