Browse Source

[clang-tidy] fix mismatching declarations

Found with readability-inconsistent-declaration-parameter-name

Signed-off-by: Rosen Penev <rosenp@gmail.com>
pull/1012/head
Rosen Penev 2 years ago
parent
commit
13ae035211
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
  1. 6
      include/md5.h
  2. 2
      libblkid/src/blkidP.h

6
include/md5.h

@ -11,9 +11,9 @@ struct UL_MD5Context {
unsigned char in[64];
};
void ul_MD5Init(struct UL_MD5Context *context);
void ul_MD5Update(struct UL_MD5Context *context, unsigned char const *buf, unsigned len);
void ul_MD5Final(unsigned char digest[UL_MD5LENGTH], struct UL_MD5Context *context);
void ul_MD5Init(struct UL_MD5Context *ctx);
void ul_MD5Update(struct UL_MD5Context *ctx, unsigned char const *buf, unsigned len);
void ul_MD5Final(unsigned char digest[UL_MD5LENGTH], struct UL_MD5Context *ctx);
void ul_MD5Transform(uint32_t buf[4], uint32_t const in[16]);
/*

2
libblkid/src/blkidP.h

@ -350,7 +350,7 @@ struct dir_list {
};
extern void blkid__scan_dir(char *, dev_t, struct dir_list **, char **)
__attribute__((nonnull(1,4)));
extern int blkid_driver_has_major(const char *drvname, int major)
extern int blkid_driver_has_major(const char *drvname, int drvmaj)
__attribute__((warn_unused_result));
/* lseek.c */

Loading…
Cancel
Save