diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 18:56:13 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 18:57:13 +0000 |
commit | 82dd75a7f436a19047325d62182590c9f9e23a78 (patch) | |
tree | 60ca20c8cf2b0d178d84725c0715471f76df97e1 /libio/iofwrite_u.c | |
parent | 0bbb676a2342367c4e52b35e890f24667dabb348 (diff) | |
parent | 963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff) |
Merge commit 'refs/top-bases/t/tls' into t/tls
Diffstat (limited to 'libio/iofwrite_u.c')
-rw-r--r-- | libio/iofwrite_u.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libio/iofwrite_u.c b/libio/iofwrite_u.c index 188321bb08..71ac6266c0 100644 --- a/libio/iofwrite_u.c +++ b/libio/iofwrite_u.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993-2016 Free Software Foundation, Inc. +/* Copyright (C) 1993-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,12 +29,11 @@ #undef fwrite_unlocked -_IO_size_t -fwrite_unlocked (const void *buf, _IO_size_t size, _IO_size_t count, - _IO_FILE *fp) +size_t +fwrite_unlocked (const void *buf, size_t size, size_t count, FILE *fp) { - _IO_size_t request = size * count; - _IO_size_t written = 0; + size_t request = size * count; + size_t written = 0; CHECK_FILE (fp, 0); if (request == 0) return 0; |