Commit da09373d authored by Alessandro Rubini's avatar Alessandro Rubini

general: remove ../ from include lines

"-I." is there, so instead of "../lib/ipv4.h" prefer <lib/ipv4.h>.

I thought moving ipv4.h to include, but then the name is possibly ambiguous
with other files in the -I search path. Thus I wanted to move
it from lib/ipv4.h to include/wrc-ipv4.h but that would require several
files to be changed.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 88c1596c
......@@ -10,10 +10,10 @@
#include <string.h>
#include <errno.h>
#include <wrc.h>
#include <lib/ipv4.h>
#include "softpll_ng.h"
#include "shell.h"
#include "../lib/ipv4.h"
void decode_ip(const char *str, unsigned char *ip)
{
......
......@@ -10,12 +10,12 @@
#include <string.h>
#include <errno.h>
#include <wrc.h>
#include <lib/ipv4.h>
#include "softpll_ng.h"
#include "shell.h"
#include "onewire.h"
#include "endpoint.h"
#include "../lib/ipv4.h"
void decode_mac(const char *str, unsigned char *mac)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment