diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-09-06 22:02:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-09-06 22:02:15 +0000 |
commit | a3479e9f7d97e024be0780d9714e03eb227e009d (patch) | |
tree | dedae5c16c1ea466f72cbe4265c7366978390ca0 /nuttx/examples | |
parent | 2939906ef52709a869fc46b289d0c0bffe9e8aba (diff) | |
download | px4-nuttx-a3479e9f7d97e024be0780d9714e03eb227e009d.tar.gz px4-nuttx-a3479e9f7d97e024be0780d9714e03eb227e009d.tar.bz2 px4-nuttx-a3479e9f7d97e024be0780d9714e03eb227e009d.zip |
Eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2926 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nsh/nsh_netcmds.c | 4 | ||||
-rw-r--r-- | nuttx/examples/nsh/nsh_romfsetc.c | 5 |
2 files changed, 5 insertions, 4 deletions
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 <spudmonkey@racsa.co.cr> * * 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 <spudmonkey@racsa.co.cr> * * 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 */ + |