Some guards are missing or have a wrong name.
Others have LINUXAPP in their name but are now common.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
* on the filesystem for Linux, that are used by the Linux EAL.
*/
-#ifndef _EAL_LINUXAPP_FILESYSTEM_H
-#define _EAL_LINUXAPP_FILESYSTEM_H
+#ifndef EAL_FILESYSTEM_H
+#define EAL_FILESYSTEM_H
/** Path of rte config file. */
#define RUNTIME_CONFIG_FMT "%s/.%s_config"
* Used to read information from files on /sys */
int eal_parse_sysfs_value(const char *filename, unsigned long *val);
-#endif /* _EAL_LINUXAPP_FILESYSTEM_H */
+#endif /* EAL_FILESYSTEM_H */
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTE_LINUXAPP_HUGEPAGES_H_
-#define RTE_LINUXAPP_HUGEPAGES_H_
+#ifndef EAL_HUGEPAGES_H
+#define EAL_HUGEPAGES_H
#include <stddef.h>
#include <stdint.h>
*/
int eal_hugepage_info_init(void);
-#endif /* EAL_HUGEPAGES_H_ */
+#endif /* EAL_HUGEPAGES_H */
* Holds the structures for the eal internal configuration
*/
-#ifndef _EAL_LINUXAPP_INTERNAL_CFG
-#define _EAL_LINUXAPP_INTERNAL_CFG
+#ifndef EAL_INTERNAL_CFG_H
+#define EAL_INTERNAL_CFG_H
#include <rte_eal.h>
#include <rte_pci_dev_feature_defs.h>
};
extern struct internal_config internal_config; /**< Global EAL configuration. */
-#endif
+#endif /* EAL_INTERNAL_CFG_H */
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef EAL_OPTIONS_H
+#define EAL_OPTIONS_H
enum {
/* long options mapped to a short option */
int eal_parse_common_option(int opt, const char *argv,
struct internal_config *conf);
void eal_common_usage(void);
+
+#endif /* EAL_OPTIONS_H */
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _EAL_LINUXAPP_THREAD_H_
-#define _EAL_LINUXAPP_THREAD_H_
+#ifndef EAL_THREAD_H
+#define EAL_THREAD_H
/**
* basic loop of thread, called for each thread by eal_init().
*/
void eal_thread_init_master(unsigned lcore_id);
-#endif /* _EAL_LINUXAPP_PRIVATE_H_ */
+#endif /* EAL_THREAD_H */