mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add prototypes
Add prototypes/move prototypes to header files. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10470
This commit is contained in:
committed by
Brian Behlendorf
parent
60356b1a21
commit
0ce2de637b
@@ -159,7 +159,7 @@ typedef struct ace_list {
|
||||
* returns (-1 = less than, 0 = equal, 1 = greater than
|
||||
*/
|
||||
void
|
||||
ksort(caddr_t v, int n, int s, int (*f)())
|
||||
ksort(caddr_t v, int n, int s, int (*f)(void *, void *))
|
||||
{
|
||||
int g, i, j, ii;
|
||||
unsigned int *p1, *p2;
|
||||
|
||||
@@ -52,7 +52,8 @@ typedef struct callb {
|
||||
char c_flag; /* info about the callb state */
|
||||
uchar_t c_class; /* this callb's class */
|
||||
kcondvar_t c_done_cv; /* signal callb completion */
|
||||
boolean_t (*c_func)(); /* cb function: returns true if ok */
|
||||
boolean_t (*c_func)(void *, int);
|
||||
/* cb function: returns true if ok */
|
||||
void *c_arg; /* arg to c_func */
|
||||
char c_name[CB_MAXNAME+1]; /* debug:max func name length */
|
||||
} callb_t;
|
||||
|
||||
Reference in New Issue
Block a user