Eliminate some warnings

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2926 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-09-06 22:02:15 +00:00
parent a4859ef3a6
commit ca3cf813e7
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -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 */
#endif /* CONFIG_EXAMPLES_NSH_ROMFSETC */