Remove user_initialize(); Make sure all integer types are signed that need to be
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
a2fafbe2cd
commit
a6efa19e43
@ -85,19 +85,6 @@
|
|||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/hello/main.c
|
* examples/hello/main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -52,19 +52,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//***************************************************************************
|
//***************************************************************************
|
||||||
// examples/helloxx/main.c
|
// examples/helloxx/main.c
|
||||||
//
|
//
|
||||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
// Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Redistribution and use in source and binary forms, with or without
|
||||||
@ -86,18 +86,6 @@ static CHelloWorld g_HelloWorld;
|
|||||||
// Public Functions
|
// Public Functions
|
||||||
//***************************************************************************
|
//***************************************************************************
|
||||||
|
|
||||||
//***************************************************************************
|
|
||||||
// user_initialize
|
|
||||||
//***************************************************************************
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
// Stub that must be provided only if the toolchain does not support weak
|
|
||||||
// functions.
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//***************************************************************************
|
//***************************************************************************
|
||||||
// user_start
|
// user_start
|
||||||
//***************************************************************************
|
//***************************************************************************
|
||||||
|
@ -140,14 +140,6 @@ static int hidkbd_waiter(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -77,19 +77,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does
|
|
||||||
* not support weak functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -266,14 +266,6 @@ static void do_frees(void **mem, const int *size, const int *seq, int n)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* mount_main.c
|
* examples/mount/mount_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -566,14 +566,6 @@ static void succeed_stat(const char *path)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -61,19 +61,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does
|
|
||||||
* not support weak functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -75,22 +75,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/* In order to support user_initialize if CONFIG_PAGING is defined, this
|
|
||||||
* function (and only this function) would need to get moved to the locked
|
|
||||||
* text region.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef CONFIG_PAGING
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* stub */
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/null/null_main.c
|
* examples/null/null_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -57,14 +57,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/nx/nx_main.c
|
* examples/nx/nx_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -609,14 +609,6 @@ static int nxeg_initialize(void)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/nxflat/nxflat_main.c
|
* examples/nxflat/nxflat_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -144,14 +144,6 @@ static inline void testheader(FAR const char *progname)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/ostest/main.c
|
* examples/ostest/main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -449,15 +449,6 @@ static void stdio_test(void)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* stub */
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/pashello/pashello.c
|
* examples/pashello/pashello.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -98,16 +98,6 @@ static void prun(FAR struct pexec_s *st)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/pipe/pipe_main.c
|
* examples/pipe/pipe_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -68,14 +68,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -73,14 +73,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/romfs/romfs_main.c
|
* examples/romfs/romfs_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -451,14 +451,6 @@ static void checkdirectories(struct node_s *entry)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -97,18 +97,6 @@ static const char g_msg_body[] = CONFIG_EXAMPLE_SENDMAIL_BODY "\r\n";
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/serloop/main.c
|
* examples/serloop/main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -55,19 +55,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -165,19 +165,6 @@ int g_thttpdnsymbols;
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -58,19 +58,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does
|
|
||||||
* not support weak functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -104,19 +104,6 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does
|
|
||||||
* not support weak functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/usbserial/main.c
|
* examples/usbserial/main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008, 2010-2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -187,19 +187,6 @@ static void dumptrace(void)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/usbstorage/usbstrg_main.c
|
* examples/usbstorage/usbstrg_main.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -283,19 +283,6 @@ static int usbstrg_enumerate(struct usbtrace_s *trace, void *arg)
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -104,18 +104,6 @@ static void callback(FAR char **buffer, int offset, int datend,
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/****************************************************************************
|
|
||||||
* user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
/* Stub that must be provided only if the toolchain does not support weak
|
|
||||||
* functions.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* user_start
|
* user_start
|
||||||
|
@ -141,14 +141,6 @@ static int wlan_waiter(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: user_initialize
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void user_initialize(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: user_start
|
* Name: user_start
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user