Commit f09c5c4b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

xsi_strerror: Use stddef.h so that we can use size_t

parent 08a9a2ec
......@@ -29,6 +29,8 @@
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
......@@ -44,7 +46,7 @@ extern "C" {
* sufficient to include error message, and |buflen| > 0, empty string
* 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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment