diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-05 16:56:14 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-01-05 16:56:14 +0100 |
commit | 27262aeabf3e4d8e29d8f64dbbe48441b80ce387 (patch) | |
tree | 67c0e1be485483604ffbcd1fca97e425a9f34886 /common/rfb/SConnection.h | |
parent | 4701b05b7829f355c7dd4a78f0e194f232872f76 (diff) | |
parent | 7a36fb8ca702fdf6548d3a791896a161c94af5b4 (diff) | |
download | tigervnc-27262aeabf3e4d8e29d8f64dbbe48441b80ce387.tar.gz tigervnc-27262aeabf3e4d8e29d8f64dbbe48441b80ce387.zip |
Merge branch 'wextra' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r-- | common/rfb/SConnection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index 38969c22..b7e30c6a 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -85,7 +85,7 @@ namespace rfb { virtual void clientCutText(const char* str); virtual void handleClipboardRequest(rdr::U32 flags); - virtual void handleClipboardPeek(rdr::U32 flags); + virtual void handleClipboardPeek(); virtual void handleClipboardNotify(rdr::U32 flags); virtual void handleClipboardProvide(rdr::U32 flags, const size_t* lengths, @@ -222,7 +222,8 @@ namespace rfb { // throwConnFailedException() prints a message to the log, sends a conn // failed message to the client (if possible) and throws a // ConnFailedException. - void throwConnFailedException(const char* format, ...) __printf_attr(2, 3); + void throwConnFailedException(const char* format, ...) + __attribute__((__format__ (__printf__, 2, 3))); void setState(stateEnum s) { state_ = s; } |