Reformat sysdeps/x86/libc-start.c

Message ID 20171030200246.GA14084@intel.com
State New, archived
Headers

Commit Message

Lu, Hongjiu Oct. 30, 2017, 8:02 p.m. UTC
  I am checking this patch to reformat sysdeps/x86/libc-start.c

	* sysdeps/x86/libc-start.c: Reformat.
---
 ChangeLog                | 4 ++++
 sysdeps/x86/libc-start.c | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
  

Comments

Florian Weimer Oct. 30, 2017, 8:35 p.m. UTC | #1
On 10/30/2017 09:02 PM, H.J. Lu wrote:
> index e11b490f5c..727d328bc7 100644
> --- a/sysdeps/x86/libc-start.c
> +++ b/sysdeps/x86/libc-start.c
> @@ -16,13 +16,13 @@
>      <http://www.gnu.org/licenses/>.  */
>   
>   #ifndef SHARED
> -#include <ldsodefs.h>
> +# include <ldsodefs.h>
>   # include <cpu-features.h>
>   # include <cpu-features.c>
>   
>   extern struct cpu_features _dl_x86_cpu_features;
>   
> -#define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
> +# define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
>   
>  #endif
> -# include <csu/libc-start.c>
> +#include <csu/libc-start.c>

Maybe add a /* SHARED */ comment on the #endif line while you are at it?

Thanks,
Florian
  

Patch

diff --git a/ChangeLog b/ChangeLog
index 5ea3d856a1..4751a83927 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@ 
 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/x86/libc-start.c: Reformat.
+
+2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
 	[BZ #22353]
 	* sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
 	(1): Renamed to ...
diff --git a/sysdeps/x86/libc-start.c b/sysdeps/x86/libc-start.c
index e11b490f5c..727d328bc7 100644
--- a/sysdeps/x86/libc-start.c
+++ b/sysdeps/x86/libc-start.c
@@ -16,13 +16,13 @@ 
    <http://www.gnu.org/licenses/>.  */
 
 #ifndef SHARED
-#include <ldsodefs.h>
+# include <ldsodefs.h>
 # include <cpu-features.h>
 # include <cpu-features.c>
 
 extern struct cpu_features _dl_x86_cpu_features;
 
-#define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
+# define ARCH_INIT_CPU_FEATURES() init_cpu_features (&_dl_x86_cpu_features)
 
 #endif
-# include <csu/libc-start.c>
+#include <csu/libc-start.c>