summaryrefslogtreecommitdiff
path: root/nuttx/examples/poll/net_reader.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 19:00:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 19:00:40 +0000
commit08b2e5a5495fb08277274eaaf91c21069e0fbadf (patch)
tree8fd7037b0159064a937714529251eb34ec4f4e73 /nuttx/examples/poll/net_reader.c
parentefcfa33c1fa5728dc7c8dd9fd9f20ed7d8a0b27a (diff)
downloadpx4-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/poll/net_reader.c')
-rw-r--r--nuttx/examples/poll/net_reader.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/examples/poll/net_reader.c b/nuttx/examples/poll/net_reader.c
index ca1fa4bb0..1ea8dbe54 100644
--- a/nuttx/examples/poll/net_reader.c
+++ b/nuttx/examples/poll/net_reader.c
@@ -1,7 +1,7 @@
/****************************************************************************
* examples/poll/net_reader.c
*
- * Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,7 @@
#include <sys/select.h>
#include <sys/socket.h>
+#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
@@ -83,7 +84,7 @@ static void net_configure(void)
{
struct in_addr addr;
#if defined(CONFIG_EXAMPLE_POLL_NOMAC)
- ubyte mac[IFHWADDRLEN];
+ uint8_t mac[IFHWADDRLEN];
#endif
/* Configure uIP */