mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 04:01:09 -04:00
Correct the documented declaration of the archive_write_callback to
match the code. PR: docs/128089 Submitted by: Mel MFC after: 3 days
This commit is contained in:
parent
c63bac11af
commit
92ab0af8a3
1 changed files with 2 additions and 2 deletions
|
|
@ -342,7 +342,7 @@ to register an error code and message and return
|
|||
.Fo archive_write_callback
|
||||
.Fa "struct archive *"
|
||||
.Fa "void *client_data"
|
||||
.Fa "void *buffer"
|
||||
.Fa "const void *buffer"
|
||||
.Fa "size_t length"
|
||||
.Fc
|
||||
.El
|
||||
|
|
@ -410,7 +410,7 @@ myopen(struct archive *a, void *client_data)
|
|||
}
|
||||
|
||||
ssize_t
|
||||
mywrite(struct archive *a, void *client_data, void *buff, size_t n)
|
||||
mywrite(struct archive *a, void *client_data, const void *buff, size_t n)
|
||||
{
|
||||
struct mydata *mydata = client_data;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue