mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-18 22:30:36 +02:00
dbus/dbus-sysdeps-util-win.c: remove unused str*_s definitions (cherry picked from commit 373214317c33031547f3788cffed8a832142fc43)
This commit is contained in:
parent
8836d6c5bf
commit
c366d25cf1
1 changed files with 0 additions and 21 deletions
|
|
@ -44,27 +44,6 @@
|
|||
#include <errno.h>
|
||||
#include <winsock2.h> // WSA error codes
|
||||
|
||||
#if defined __MINGW32__ || (defined _MSC_VER && _MSC_VER <= 1310)
|
||||
/* save string functions version
|
||||
using DBusString needs to much time because of uncommon api
|
||||
*/
|
||||
#define errno_t int
|
||||
|
||||
errno_t strcat_s(char *dest, size_t size, char *src)
|
||||
{
|
||||
_dbus_assert(strlen(dest) + strlen(src) +1 <= size);
|
||||
strcat(dest,src);
|
||||
return 0;
|
||||
}
|
||||
|
||||
errno_t strcpy_s(char *dest, size_t size, char *src)
|
||||
{
|
||||
_dbus_assert(strlen(src) +1 <= size);
|
||||
strcpy(dest,src);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Does the chdir, fork, setsid, etc. to become a daemon process.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue