Win32: Fix compiler warning (undefined static function).
PATCH 1/1 Win32: Fix compiler warning (undefined static function).
For win32, function slirp_smb is declared but unused and undefined. This results in a gcc compiler warning:
net.c:668: warning: ‘slirp_smb’ declared ‘static’ but never defined
The patch fixes this warning.
Signed-off-by Stefan Weil <[email protected]>
--- net.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
net.c +2 -0
@@ -665,7 +665,9 @@ static const char *slirp_smb_export;#endif static VLANClientState *slirp_vc; +#ifndef _WIN32static void slirp_smb (const char *exported_dir); +#endif static void slirp_redirection (Monitor *mon,const char *redir_str);int slirp_can_output (void )
Signature · 1 line
1.5.6.5