libsa: Change write(2)-alike prototype to match definition

Broken in r329879.

Apparently old GCC detects this, but modern GCC didn't.  Mea culpa.

Reported by:	np
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2018-02-24 01:58:53 +00:00
parent 6708989b60
commit 061577c5fe

View File

@ -289,7 +289,7 @@ extern int open(const char *, int);
extern int close(int);
extern void closeall(void);
extern ssize_t read(int, void *, size_t);
extern ssize_t write(int, void *, size_t);
extern ssize_t write(int, const void *, size_t);
extern struct dirent *readdirfd(int);
extern void srandom(unsigned int);