Merge pull request #8 from wm4/header_fixes

Header conformance fixes
This commit is contained in:
Carbo Kuo 2015-08-06 12:33:03 +02:00
commit 84e292d1b9

View File

@ -34,8 +34,8 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#ifndef ___UCHARDET_H___ #ifndef UCHARDET_H___
#define ___UCHARDET_H___ #define UCHARDET_H___
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -43,13 +43,13 @@ extern "C" {
#include <stddef.h> #include <stddef.h>
typedef void * uchardet_t; typedef struct uchardet * uchardet_t;
/** /**
* Create an encoding detector. * Create an encoding detector.
* @return a handle of a instance of uchardet * @return a handle of a instance of uchardet
*/ */
uchardet_t uchardet_new(); uchardet_t uchardet_new(void);
/** /**
* Delete an encoding detector. * Delete an encoding detector.