diff options
author | Damien George <damien.p.george@gmail.com> | 2017-03-31 22:29:39 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-31 22:29:39 +1100 |
commit | b6c7e4b143d96ff9f84ccb22d83b1e15ab084250 (patch) | |
tree | cb1e587ea32fab2bcc2837cdfed498abcfdb9479 /lib | |
parent | 6e6c01b97189a95b59a037fa7dabcf8217f199af (diff) | |
download | micropython-b6c7e4b143d96ff9f84ccb22d83b1e15ab084250.tar.gz micropython-b6c7e4b143d96ff9f84ccb22d83b1e15ab084250.zip |
all: Use full path name when including mp-readline/timeutils/netutils.
This follows the pattern of how all other headers are now included, and
makes it explicit where the header file comes from. This patch also
removes -I options from Makefile's that specify the mp-readline/timeutils/
netutils directories, which are no longer needed.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mp-readline/readline.c | 2 | ||||
-rw-r--r-- | lib/netutils/netutils.c | 2 | ||||
-rw-r--r-- | lib/timeutils/timeutils.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/mp-readline/readline.c b/lib/mp-readline/readline.c index cbb99cc94c..4b98751367 100644 --- a/lib/mp-readline/readline.c +++ b/lib/mp-readline/readline.c @@ -31,7 +31,7 @@ #include "py/mpstate.h" #include "py/repl.h" #include "py/mphal.h" -#include "readline.h" +#include "lib/mp-readline/readline.h" #if 0 // print debugging info #define DEBUG_PRINT (1) diff --git a/lib/netutils/netutils.c b/lib/netutils/netutils.c index 3a4c600dca..a2ea31cf38 100644 --- a/lib/netutils/netutils.c +++ b/lib/netutils/netutils.c @@ -31,7 +31,7 @@ #include "py/obj.h" #include "py/nlr.h" -#include "netutils.h" +#include "lib/netutils/netutils.h" // Takes an array with a raw IPv4 address and returns something like '192.168.0.1'. mp_obj_t netutils_format_ipv4_addr(uint8_t *ip, netutils_endian_t endian) { diff --git a/lib/timeutils/timeutils.c b/lib/timeutils/timeutils.c index 19d3ddbdd3..0af39a2958 100644 --- a/lib/timeutils/timeutils.c +++ b/lib/timeutils/timeutils.c @@ -27,7 +27,7 @@ #include "py/obj.h" -#include "timeutils.h" +#include "lib/timeutils/timeutils.h" // LEAPOCH corresponds to 2000-03-01, which is a mod-400 year, immediately // after Feb 29. We calculate seconds as a signed integer relative to that. |