diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-18 02:05:30 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-18 02:05:30 +0000 |
commit | 1e6e6f50e0a16df6e75e9684a95f949f0238d5c4 (patch) | |
tree | 1b24c52c61389a20bee9bf1500141bb22f407564 | |
parent | b6ed10751ddf91e851971e1c558f91eb3b9f07ec (diff) | |
download | edk2-1e6e6f50e0a16df6e75e9684a95f949f0238d5c4.zip edk2-1e6e6f50e0a16df6e75e9684a95f949f0238d5c4.tar.gz edk2-1e6e6f50e0a16df6e75e9684a95f949f0238d5c4.tar.bz2 |
Fix mismatch between the declaration and definition of fwrite.
The first parameter should be const void * instead of void *.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12157 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | StdLib/Include/stdio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/StdLib/Include/stdio.h b/StdLib/Include/stdio.h index 62cbece..666e190 100644 --- a/StdLib/Include/stdio.h +++ b/StdLib/Include/stdio.h @@ -1291,10 +1291,10 @@ size_t fread (void * __restrict Buffer, encountered. If Size or Num is zero, fwrite returns zero and
the state of the stream remains unchanged.
**/
-size_t fwrite (void * __restrict Buffer,
- size_t Size,
- size_t Num,
- FILE * __restrict Stream
+size_t fwrite (const void * __restrict Buffer,
+ size_t Size,
+ size_t Num,
+ FILE * __restrict Stream
);
/* ################ File Positioning Functions. */
|