diff options
Diffstat (limited to 'str_replace.h')
-rw-r--r-- | str_replace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/str_replace.h b/str_replace.h new file mode 100644 index 000000000000..a14aa5433eb1 --- /dev/null +++ b/str_replace.h @@ -0,0 +1,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)) |