Mercurial > vim
diff src/proto/misc2.pro @ 7519:98fede2c9574 v7.4.1061
commit https://github.com/vim/vim/commit/285bf84b4b9aca828828a8729b04cd59ab333dac
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 7 22:34:01 2016 +0100
patch 7.4.1061
Problem: Compiler warning for ignoring return value of fwrite().
Solution: Do use the return value. (idea: Charles Campbell)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 07 Jan 2016 22:45:04 +0100 |
parents | 37e061ec063c |
children | 4c922651fd78 |
line wrap: on
line diff
--- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -105,7 +105,7 @@ int get4c __ARGS((FILE *fd)); time_t get8ctime __ARGS((FILE *fd)); char_u *read_string __ARGS((FILE *fd, int cnt)); int put_bytes __ARGS((FILE *fd, long_u nr, int len)); -void put_time __ARGS((FILE *fd, time_t the_time)); +int put_time __ARGS((FILE *fd, time_t the_time)); void time_to_bytes __ARGS((time_t the_time, char_u *buf)); int has_non_ascii __ARGS((char_u *s)); void parse_queued_messages __ARGS((void));