diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-15 05:51:12 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-15 05:51:12 +1100 |
commit | 032147b69527e5448a511049b2d43dbcae582624 (patch) | |
tree | 935ead300d7068d105477ef4bac264e917032ccd /openbsd-compat/vis.c | |
parent | e0259a82ddd950cfb109ddee86fcebbc09c6bd04 (diff) |
Move DEF_WEAK into defines.h.
As well pull in more recent changes from OpenBSD these will start to
arrive so put it where the definition is shared.
Diffstat (limited to 'openbsd-compat/vis.c')
-rw-r--r-- | openbsd-compat/vis.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/openbsd-compat/vis.c b/openbsd-compat/vis.c index 3cef6bafd..0e04ed025 100644 --- a/openbsd-compat/vis.c +++ b/openbsd-compat/vis.c | |||
@@ -33,12 +33,6 @@ | |||
33 | #include "includes.h" | 33 | #include "includes.h" |
34 | #if !defined(HAVE_STRNVIS) || defined(BROKEN_STRNVIS) | 34 | #if !defined(HAVE_STRNVIS) || defined(BROKEN_STRNVIS) |
35 | 35 | ||
36 | /* | ||
37 | * We want these to override in the BROKEN_STRNVIS case. TO avoid future sync | ||
38 | * problems no-op out the weak symbol definition rather than remove it. | ||
39 | */ | ||
40 | #define DEF_WEAK(x) | ||
41 | |||
42 | #include <sys/types.h> | 36 | #include <sys/types.h> |
43 | #include <errno.h> | 37 | #include <errno.h> |
44 | #include <ctype.h> | 38 | #include <ctype.h> |