From bcae42b653a52fe43a6f933a231a9a74f8caa823 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 26 Feb 2015 06:04:23 -0600 Subject: [PATCH] Costmetic updates comments and style; Add NFS dependency on IPv4 --- arch/mips/src/pic32mx/pic32mx-config.h | 2 +- fs/nfs/Kconfig | 2 +- include/sys/types.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/src/pic32mx/pic32mx-config.h b/arch/mips/src/pic32mx/pic32mx-config.h index a80e2bba54..a2cc140ae9 100644 --- a/arch/mips/src/pic32mx/pic32mx-config.h +++ b/arch/mips/src/pic32mx/pic32mx-config.h @@ -600,7 +600,7 @@ /* DEVCFG3 */ #ifndef CONFIG_PIC32MX_USERID /* User ID */ -# define CONFIG_PIC32MX_USERID 0x584e /* "NutX" */ +# define CONFIG_PIC32MX_USERID 0x584e /* "NX" */ #endif #ifndef CONFIG_PIC32MX_PMDL1WAY /* Peripheral module disable configuration */ diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 6a06555f44..9d2aa288dc 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -6,7 +6,7 @@ config NFS bool "NFS client file system" default n - depends on NET_UDP && !DISABLE_MOUNTPOINT + depends on NET_UDP && NET_IPv4 && !DISABLE_MOUNTPOINT select FS_READABLE select FS_WRITABLE ---help--- diff --git a/include/sys/types.h b/include/sys/types.h index cc8aee15de..14c04e9c78 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -254,7 +254,7 @@ typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; typedef signed char s_char; -typedef char *caddr_t; +typedef FAR char *caddr_t; /* Task entry point */