diff options
Diffstat (limited to 'nuttx/examples/mount')
-rw-r--r-- | nuttx/examples/mount/mount_main.c | 3 | ||||
-rw-r--r-- | nuttx/examples/mount/ramdisk.c | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/nuttx/examples/mount/mount_main.c b/nuttx/examples/mount/mount_main.c index 74c692e77..05bda8150 100644 --- a/nuttx/examples/mount/mount_main.c +++ b/nuttx/examples/mount/mount_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * mount_main.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -38,7 +38,6 @@ ****************************************************************************/ #include <sys/mount.h> -#include <sys/types.h> #include <sys/stat.h> #include <sys/statfs.h> diff --git a/nuttx/examples/mount/ramdisk.c b/nuttx/examples/mount/ramdisk.c index ca3846053..f596dae52 100644 --- a/nuttx/examples/mount/ramdisk.c +++ b/nuttx/examples/mount/ramdisk.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/mount/ramdisk.c * - * Copyright (C) 2008 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 @@ -39,7 +39,7 @@ #include <nuttx/config.h> -#include <sys/types.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -116,7 +116,7 @@ int create_ramdisk(void) pbuffer, CONFIG_EXAMPLES_MOUNT_NSECTORS, CONFIG_EXAMPLES_MOUNT_SECTORSIZE, - TRUE); + true); if (ret < 0) { printf("create_ramdisk: Failed to register ramdisk at %s: %d\n", |