[Slirp] [Git][slirp/libslirp][master] 2 commits: Add G_GNUC_PRINTF to local function slirp_vsnprintf

Samuel Thibault gitlab at gitlab.freedesktop.org
Thu Aug 27 18:37:04 UTC 2020



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
5b9ad89e by Stefan Weil at 2020-08-27T20:24:43+02:00
Add G_GNUC_PRINTF to local function slirp_vsnprintf

Signed-off-by: Stefan Weil <sw at weilnetz.de>

- - - - -
c4c62b0d by Samuel Thibault at 2020-08-27T18:37:01+00:00
Merge branch 'G_GNUC_PRINTF' into 'master'

Add G_GNUC_PRINTF to local function slirp_vsnprintf

See merge request slirp/libslirp!52
- - - - -


1 changed file:

- src/util.c


Changes:

=====================================
src/util.c
=====================================
@@ -365,6 +365,7 @@ void slirp_pstrcpy(char *buf, int buf_size, const char *str)
     *q = '\0';
 }
 
+G_GNUC_PRINTF(3, 0)
 static int slirp_vsnprintf(char *str, size_t size,
                            const char *format, va_list args)
 {



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/1b0093b973cfa0dc041522e5d4e6f576b2df642e...c4c62b0d720268808f8eeb9b38d70b1582295c04

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/1b0093b973cfa0dc041522e5d4e6f576b2df642e...c4c62b0d720268808f8eeb9b38d70b1582295c04
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20200827/954d7106/attachment.htm>


More information about the Slirp mailing list