Skip to content

Commit 503084a

Browse files
committed
include/xbps.h.in: IWYU and add missing parameter names
1 parent 4bc6eed commit 503084a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/xbps.h.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#define _XBPS_H_
3131

3232
#include <stdio.h>
33+
#include <stdbool.h>
3334
#include <inttypes.h>
3435

3536
#include <xbps/xbps_array.h>
@@ -842,14 +843,14 @@ xbps_array_t xbps_find_pkg_orphans(struct xbps_handle *xhp, xbps_array_t orphans
842843
* @param[in] xhp The pointer to the xbps_handle struct.
843844
* @return 0 on success, otherwise an errno value.
844845
*/
845-
int xbps_pkgdb_lock(struct xbps_handle *);
846+
int xbps_pkgdb_lock(struct xbps_handle *xhp);
846847

847848
/**
848849
* Unlocks the pkgdb after a write transaction.
849850
*
850851
* @param[in] xhp The pointer to the xbps_handle struct.
851852
*/
852-
void xbps_pkgdb_unlock(struct xbps_handle *);
853+
void xbps_pkgdb_unlock(struct xbps_handle *xhp);
853854

854855
/**
855856
* Executes a function callback per a package dictionary registered

0 commit comments

Comments
 (0)