blob: a14aa5433eb172a1f0683bbb39cc9ce3fc8e7d2f (
plain)
1
2
3
4
5
6
7
|
// Stub for str_replace.h that is transitively used by boinc includes but not
// shipped by boinc...
// Only the definition of safe_strcpy is used. We don't need an implementation.
size_t strlcpy(char *dst, const char *src, size_t siz);
#define safe_strcpy(x, y) strlcpy(x, y, sizeof(x))
|