From e2e53117a56b972965d683b4f66ff1596f5ec1cf Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 13 Jan 2018 08:35:44 -0600 Subject: [PATCH] Remove some section headers when the sections are empty. --- examples/nsh/nsh_main.c | 16 ---------------- nshlib/nsh_init.c | 20 -------------------- 2 files changed, 36 deletions(-) diff --git a/examples/nsh/nsh_main.c b/examples/nsh/nsh_main.c index 32ea17ae5..fa1282d29 100644 --- a/examples/nsh/nsh_main.c +++ b/examples/nsh/nsh_main.c @@ -83,18 +83,6 @@ # define ADDR_FAMILY AF_INET #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Function Prototypes - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Public Data ****************************************************************************/ @@ -114,10 +102,6 @@ const struct symtab_s CONFIG_EXECFUNCS_SYMTAB[1]; #endif -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/nshlib/nsh_init.c b/nshlib/nsh_init.c index 43a8218f7..157ddaa0a 100644 --- a/nshlib/nsh_init.c +++ b/nshlib/nsh_init.c @@ -46,18 +46,6 @@ #include "nsh.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Function Prototypes - ****************************************************************************/ - /**************************************************************************** * Private Data ****************************************************************************/ @@ -71,14 +59,6 @@ static const struct extmatch_vtable_s g_nsh_extmatch = }; #endif - /************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/