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/thttpd/main.c | |
parent | efcfa33c1fa5728dc7c8dd9fd9f20ed7d8a0b27a (diff) | |
download | nuttx-08b2e5a5495fb08277274eaaf91c21069e0fbadf.tar.gz nuttx-08b2e5a5495fb08277274eaaf91c21069e0fbadf.tar.bz2 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/thttpd/main.c')
-rw-r--r-- | nuttx/examples/thttpd/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/examples/thttpd/main.c b/nuttx/examples/thttpd/main.c index 22fbe1d50..cb267b8d0 100644 --- a/nuttx/examples/thttpd/main.c +++ b/nuttx/examples/thttpd/main.c @@ -38,10 +38,10 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + #include <sys/ioctl.h> #include <sys/mount.h> - +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -155,7 +155,7 @@ int user_start(int argc, char *argv[]) { struct in_addr addr; #ifdef CONFIG_EXAMPLE_UIP_NOMAC - uint8 mac[IFHWADDRLEN]; + uint8_t mac[IFHWADDRLEN]; #endif char *thttpd_argv = "thttpd"; int ret; @@ -203,7 +203,7 @@ int user_start(int argc, char *argv[]) /* Create a ROM disk for the ROMFS filesystem */ message("Registering romdisk\n"); - ret = romdisk_register(0, (ubyte*)romfs_img, NSECTORS(romfs_img_len), SECTORSIZE); + ret = romdisk_register(0, (uint8_t*)romfs_img, NSECTORS(romfs_img_len), SECTORSIZE); if (ret < 0) { message("ERROR: romdisk_register failed: %d\n", ret); |