diff --git a/examples/dhcpd/target.c b/examples/dhcpd/target.c index 1878c2bc8..d394da02e 100644 --- a/examples/dhcpd/target.c +++ b/examples/dhcpd/target.c @@ -85,19 +85,6 @@ * 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 ****************************************************************************/ diff --git a/examples/hello/main.c b/examples/hello/main.c index 44c8384eb..308603f33 100644 --- a/examples/hello/main.c +++ b/examples/hello/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/hello/main.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -52,19 +52,6 @@ * 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 ****************************************************************************/ diff --git a/examples/helloxx/main.cxx b/examples/helloxx/main.cxx index df84375a2..9470edf14 100755 --- a/examples/helloxx/main.cxx +++ b/examples/helloxx/main.cxx @@ -1,7 +1,7 @@ //*************************************************************************** // examples/helloxx/main.c // -// Copyright (C) 2009 Gregory Nutt. All rights reserved. +// Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. // Author: Gregory Nutt // // Redistribution and use in source and binary forms, with or without @@ -86,18 +86,6 @@ static CHelloWorld g_HelloWorld; // 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 //*************************************************************************** diff --git a/examples/hidkbd/hidkbd_main.c b/examples/hidkbd/hidkbd_main.c index 0a082f67c..96864b9f9 100644 --- a/examples/hidkbd/hidkbd_main.c +++ b/examples/hidkbd/hidkbd_main.c @@ -140,14 +140,6 @@ static int hidkbd_waiter(int argc, char *argv[]) return 0; } -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/igmp/igmp.c b/examples/igmp/igmp.c index 734a7e599..7f2a8099c 100755 --- a/examples/igmp/igmp.c +++ b/examples/igmp/igmp.c @@ -77,19 +77,6 @@ * 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 ****************************************************************************/ diff --git a/examples/mm/mm_main.c b/examples/mm/mm_main.c index 0e23e0cfb..036c39047 100644 --- a/examples/mm/mm_main.c +++ b/examples/mm/mm_main.c @@ -266,14 +266,6 @@ static void do_frees(void **mem, const int *size, const int *seq, int n) * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/mount/mount_main.c b/examples/mount/mount_main.c index 05bda8150..00070b94c 100644 --- a/examples/mount/mount_main.c +++ b/examples/mount/mount_main.c @@ -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 * * Redistribution and use in source and binary forms, with or without @@ -566,14 +566,6 @@ static void succeed_stat(const char *path) * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/nettest/nettest.c b/examples/nettest/nettest.c index c7492fff6..a6b3cda14 100644 --- a/examples/nettest/nettest.c +++ b/examples/nettest/nettest.c @@ -61,19 +61,6 @@ * 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 ****************************************************************************/ diff --git a/examples/nsh/nsh_main.c b/examples/nsh/nsh_main.c index 1bd09e8a3..53235a835 100644 --- a/examples/nsh/nsh_main.c +++ b/examples/nsh/nsh_main.c @@ -75,22 +75,6 @@ * 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 ****************************************************************************/ diff --git a/examples/null/null_main.c b/examples/null/null_main.c index fa0a1473d..10fc1bf1e 100644 --- a/examples/null/null_main.c +++ b/examples/null/null_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -57,14 +57,6 @@ * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/nx/nx_main.c b/examples/nx/nx_main.c index d35ea4ff0..48f4a11d5 100644 --- a/examples/nx/nx_main.c +++ b/examples/nx/nx_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -609,14 +609,6 @@ static int nxeg_initialize(void) * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/nxflat/nxflat_main.c b/examples/nxflat/nxflat_main.c index a710112c3..12d88c3d5 100644 --- a/examples/nxflat/nxflat_main.c +++ b/examples/nxflat/nxflat_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * 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 ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/ostest/main.c b/examples/ostest/main.c index 53be10764..327ec60e1 100644 --- a/examples/ostest/main.c +++ b/examples/ostest/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -449,15 +449,6 @@ static void stdio_test(void) * Public Functions ****************************************************************************/ -/**************************************************************************** - * user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ - /* stub */ -} - /**************************************************************************** * user_start ****************************************************************************/ diff --git a/examples/pashello/pashello.c b/examples/pashello/pashello.c index 8bdefe702..9ebe68a27 100644 --- a/examples/pashello/pashello.c +++ b/examples/pashello/pashello.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * 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 ****************************************************************************/ -/**************************************************************************** - * user_initialize - ****************************************************************************/ - -#ifndef CONFIG_HAVE_WEAKFUNCTIONS -void user_initialize(void) -{ -} -#endif - /**************************************************************************** * user_start ****************************************************************************/ diff --git a/examples/pipe/pipe_main.c b/examples/pipe/pipe_main.c index 97e728eb7..1f0f73032 100644 --- a/examples/pipe/pipe_main.c +++ b/examples/pipe/pipe_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -68,14 +68,6 @@ * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/poll/poll_main.c b/examples/poll/poll_main.c index d66e7f269..3db0150e7 100644 --- a/examples/poll/poll_main.c +++ b/examples/poll/poll_main.c @@ -73,14 +73,6 @@ * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/romfs/romfs_main.c b/examples/romfs/romfs_main.c index 2e231a31c..32b3d2654 100644 --- a/examples/romfs/romfs_main.c +++ b/examples/romfs/romfs_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -451,14 +451,6 @@ static void checkdirectories(struct node_s *entry) * Public Functions ****************************************************************************/ -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/ diff --git a/examples/sendmail/target.c b/examples/sendmail/target.c index d8643106b..ab4da14b1 100644 --- a/examples/sendmail/target.c +++ b/examples/sendmail/target.c @@ -97,18 +97,6 @@ static const char g_msg_body[] = CONFIG_EXAMPLE_SENDMAIL_BODY "\r\n"; /**************************************************************************** * 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 diff --git a/examples/serloop/main.c b/examples/serloop/main.c index a9bdbe7ea..3c635fe88 100644 --- a/examples/serloop/main.c +++ b/examples/serloop/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -55,19 +55,6 @@ * 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 ****************************************************************************/ diff --git a/examples/thttpd/main.c b/examples/thttpd/main.c index e2fdda4f4..be30876cb 100644 --- a/examples/thttpd/main.c +++ b/examples/thttpd/main.c @@ -165,19 +165,6 @@ int g_thttpdnsymbols; * 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 ****************************************************************************/ diff --git a/examples/udp/target.c b/examples/udp/target.c index 5e31fdb36..07fec0e75 100644 --- a/examples/udp/target.c +++ b/examples/udp/target.c @@ -58,19 +58,6 @@ * 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 ****************************************************************************/ diff --git a/examples/uip/main.c b/examples/uip/main.c index 21a01998b..fd2da4b8e 100644 --- a/examples/uip/main.c +++ b/examples/uip/main.c @@ -104,19 +104,6 @@ * 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 ****************************************************************************/ diff --git a/examples/usbserial/main.c b/examples/usbserial/main.c index 17aef1c79..d84c063e1 100644 --- a/examples/usbserial/main.c +++ b/examples/usbserial/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * Redistribution and use in source and binary forms, with or without @@ -187,19 +187,6 @@ static void dumptrace(void) * 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 ****************************************************************************/ diff --git a/examples/usbstorage/usbstrg_main.c b/examples/usbstorage/usbstrg_main.c index 47d79fbb4..3f0cf57e5 100644 --- a/examples/usbstorage/usbstrg_main.c +++ b/examples/usbstorage/usbstrg_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * 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 * * 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 ****************************************************************************/ -/**************************************************************************** - * 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 ****************************************************************************/ diff --git a/examples/wget/target.c b/examples/wget/target.c index b378e9944..9c55746b3 100644 --- a/examples/wget/target.c +++ b/examples/wget/target.c @@ -104,18 +104,6 @@ static void callback(FAR char **buffer, int offset, int datend, /**************************************************************************** * 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 diff --git a/examples/wlan/wlan_main.c b/examples/wlan/wlan_main.c index fd1bd9322..652d8269c 100755 --- a/examples/wlan/wlan_main.c +++ b/examples/wlan/wlan_main.c @@ -141,14 +141,6 @@ static int wlan_waiter(int argc, char *argv[]) return 0; } -/**************************************************************************** - * Name: user_initialize - ****************************************************************************/ - -void user_initialize(void) -{ -} - /**************************************************************************** * Name: user_start ****************************************************************************/