Skip to content

Commit 31672cf

Browse files
committed
lib: cleanup includes
1 parent fbee8aa commit 31672cf

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

lib/plist_match.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@
2323
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
#include <stdio.h>
26+
#include <assert.h>
2727
#include <stdbool.h>
28-
#include <stdlib.h>
2928
#include <string.h>
30-
#include <errno.h>
3129

3230
#include "xbps_api_impl.h"
3331

lib/transaction_prepare.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
#include <stdio.h>
26+
#include <sys/statvfs.h>
27+
28+
#include <errno.h>
2729
#include <stdbool.h>
28-
#include <stdlib.h>
2930
#include <string.h>
30-
#include <errno.h>
31-
#include <sys/statvfs.h>
3231

3332
#include "xbps_api_impl.h"
3433

0 commit comments

Comments
 (0)