diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2016-09-21 13:03:55 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2016-09-21 13:03:55 +0000 |
| commit | 6bf530f4bdc15ea04c2d96dd83208e806f49e0ec (patch) | |
| tree | 688d1afcfcb57a6ac3cca94ceb67a72ea764e194 /include | |
| parent | ecc288634af7795b9099164e576b18ce99ea853d (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/libgen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libgen.h b/include/libgen.h index ef871afbf4b2..5b79f3619d80 100644 --- a/include/libgen.h +++ b/include/libgen.h @@ -48,11 +48,11 @@ __END_DECLS * * Apply a workaround where we explicitly link against dirname@FBSD_1.0 * in case this function is called on constant strings, instead of - * making the build fail. + * making the program crash at runtime. */ #if defined(__generic) && !defined(__cplusplus) __BEGIN_DECLS -char *__old_dirname(const char *); +char *__old_dirname(char *); __END_DECLS __sym_compat(dirname, __old_dirname, FBSD_1.0); #define dirname(x) __generic(x, const char *, __old_dirname, dirname)(x) |
