From a3479e9f7d97e024be0780d9714e03eb227e009d Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 6 Sep 2010 22:02:15 +0000 Subject: Eliminate some warnings git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2926 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/nsh/nsh_netcmds.c | 4 ++-- nuttx/examples/nsh/nsh_romfsetc.c | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'nuttx/examples') diff --git a/nuttx/examples/nsh/nsh_netcmds.c b/nuttx/examples/nsh/nsh_netcmds.c index 306ab8232..e77fd7604 100644 --- a/nuttx/examples/nsh/nsh_netcmds.c +++ b/nuttx/examples/nsh/nsh_netcmds.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/nsh/nsh_netcmds.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -665,7 +665,7 @@ int cmd_wget(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) char *buffer = NULL; char *fullpath = NULL; char *url; - char *fmt; + const char *fmt; int option; int fd = -1; int ret; diff --git a/nuttx/examples/nsh/nsh_romfsetc.c b/nuttx/examples/nsh/nsh_romfsetc.c index 80ebdd584..d16da0a7a 100644 --- a/nuttx/examples/nsh/nsh_romfsetc.c +++ b/nuttx/examples/nsh/nsh_romfsetc.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/nsh/nsh_romfsetc.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -112,4 +112,5 @@ int nsh_romfsetc(void) return OK; } -#endif /* CONFIG_EXAMPLES_NSH_ROMFSETC */ \ No newline at end of file +#endif /* CONFIG_EXAMPLES_NSH_ROMFSETC */ + -- cgit v1.2.3