Skip to content

Commit

Permalink
sunfish: gpt-utils: Fix includes for generated_kernel_headers
Browse files Browse the repository at this point in the history
This is a squash of the following:

Author: LuK1337 <[email protected]>
Date:   Sun Sep 27 16:12:10 2020 +0200

    sunfish: gpt-utils: Drop unnecessary include

    * When using generated_kernel_headers including
      stdio.h will cause errors due to redefined macros.

    Change-Id: I2f753a64f760b636be1325873e17697466fbf33d

Author: LuK1337 <[email protected]>
Date:   Mon Sep 9 22:38:02 2019 +0200

    sunfish: gpt-utils: Drop unnecessary include

    * When using generated_kernel_headers including
      asm/byteorder.h will cause a warning due to
      unused static functions.

    Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0

Change-Id: Ia1f608778b5b37fec770abbf185c5e313cd5ba16
  • Loading branch information
luk1337 authored and mikeNG committed Aug 29, 2022
1 parent 0fca23f commit c348627
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gpt-utils/gpt-utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
/******************************************************************************
* INCLUDE SECTION
******************************************************************************/
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
Expand All @@ -46,7 +45,6 @@
#include <dirent.h>
#include <inttypes.h>
#include <linux/kernel.h>
#include <asm/byteorder.h>
#include <map>
#include <vector>
#include <string>
Expand Down

0 comments on commit c348627

Please sign in to comment.