Skip to content

Commit

Permalink
Remove useless definition of NULL in mbfl_string.h
Browse files Browse the repository at this point in the history
If NULL is not defined by the platform, mbfl_defs.h already defines it.
  • Loading branch information
alexdowad committed Aug 31, 2020
1 parent ea3f0ee commit b7808d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/mbstring/libmbfl/mbfl/mbfl_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,4 @@ MBFLAPI extern void mbfl_string_init(mbfl_string *string);
MBFLAPI extern void mbfl_string_init_set(mbfl_string *string, const mbfl_encoding *encoding);
MBFLAPI extern void mbfl_string_clear(mbfl_string *string);

#ifndef NULL
#define NULL 0
#endif

#endif /* MBFL_STRING_H */

0 comments on commit b7808d0

Please sign in to comment.