diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 19:00:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 19:00:40 +0000 |
commit | 08b2e5a5495fb08277274eaaf91c21069e0fbadf (patch) | |
tree | 8fd7037b0159064a937714529251eb34ec4f4e73 /nuttx/examples/dhcpd | |
parent | efcfa33c1fa5728dc7c8dd9fd9f20ed7d8a0b27a (diff) | |
download | px4-nuttx-08b2e5a5495fb08277274eaaf91c21069e0fbadf.tar.gz px4-nuttx-08b2e5a5495fb08277274eaaf91c21069e0fbadf.tar.bz2 px4-nuttx-08b2e5a5495fb08277274eaaf91c21069e0fbadf.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2351 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/dhcpd')
-rw-r--r-- | nuttx/examples/dhcpd/target.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/examples/dhcpd/target.c b/nuttx/examples/dhcpd/target.c index 7e2104dd7..fd0579746 100644 --- a/nuttx/examples/dhcpd/target.c +++ b/nuttx/examples/dhcpd/target.c @@ -38,7 +38,8 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + +#include <stdint.h> #include <netinet/in.h> #include <arpa/inet.h> #include <net/if.h> @@ -104,7 +105,7 @@ int user_start(int argc, char *argv[]) { struct in_addr addr; #if defined(CONFIG_EXAMPLE_DHCPD_NOMAC) - uint8 mac[IFHWADDRLEN]; + uint8_t mac[IFHWADDRLEN]; #endif /* Many embedded network interfaces must have a software assigned MAC */ |