diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-03-02 23:49:35 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-03-02 23:49:35 +0100 |
| commit | f1c9b198bba52d19a840efc7a77a9752d711ee57 (patch) | |
| tree | 90ec58fa6e6ab849ae86ac39215588698feaa972 /src/flstring.h | |
| parent | 4ccadff4b9120cba114da964fd0e79c762a6fd3d (diff) | |
Promote fl_strlcpy to <FL/fl_string_functions.h>
Diffstat (limited to 'src/flstring.h')
| -rw-r--r-- | src/flstring.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flstring.h b/src/flstring.h index d902c0a9f..e4c7ea491 100644 --- a/src/flstring.h +++ b/src/flstring.h @@ -35,6 +35,7 @@ # include <strings.h> # endif /* HAVE_STRINGS_H */ # include <ctype.h> +# include <FL/fl_string_functions.h> /* * Apparently Unixware defines "index" to strchr (!) rather than @@ -81,7 +82,8 @@ FL_EXPORT extern size_t fl_strlcat(char *, const char *, size_t); # define strlcat fl_strlcat # endif /* !HAVE_STRLCAT */ -FL_EXPORT extern size_t fl_strlcpy(char *, const char *, size_t); +// promoted to <FL/fl_string_functions.h> +//FL_EXPORT extern size_t fl_strlcpy(char *, const char *, size_t); # ifndef HAVE_STRLCPY # define strlcpy fl_strlcpy # endif /* !HAVE_STRLCPY */ |
