xsi_strerror: Use stddef.h so that we can use size_t
This commit is contained in:
parent
08a9a2eca9
commit
f09c5c4bf9
|
@ -29,6 +29,8 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif /* HAVE_CONFIG_H */
|
#endif /* HAVE_CONFIG_H */
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
@ -44,7 +46,7 @@ extern "C" {
|
||||||
* sufficient to include error message, and |buflen| > 0, empty string
|
* sufficient to include error message, and |buflen| > 0, empty string
|
||||||
* is written to |buf|. This function returns |buf|.
|
* is written to |buf|. This function returns |buf|.
|
||||||
*/
|
*/
|
||||||
char *xsi_strerror(int errnum, char *buf, unsigned long buflen);
|
char *xsi_strerror(int errnum, char *buf, size_t buflen);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue