mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 08:46:40 +08:00
(void) and () empty arguments are different in C.
This fixes the following warning when including uchardet.h in C source, built with -Wstrict-prototypes: `uchardet.h:52:1: warning: function declaration isn't a prototype`
This commit is contained in:
parent
84e292d1b9
commit
ba97505efc
@ -73,7 +73,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
uchardet_t uchardet_new()
|
||||
uchardet_t uchardet_new(void)
|
||||
{
|
||||
return reinterpret_cast<uchardet_t> (new HandleUniversalDetector());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user