diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2018-12-30 15:35:21 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-12-30 15:35:21 +0000 |
commit | d6c71dd0611e7e337edaf36c35ad51a90f404b14 (patch) | |
tree | f07993776311a1494d7dc339cf94d5a4c8dc5b82 /sysmips.c | |
parent | 51bd6db1ef017e44e878c62d4ea264f65106cb66 (diff) | |
download | strace-d6c71dd0611e7e337edaf36c35ad51a90f404b14.tar.gz |
Fix preprocessor indentation
Indent the C preprocessor directives to reflect their nesting
using the following script:
$ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' |grep -v '\.sh$') |while read f; do
cppi < "$f" > "$f".cppi; mv "$f".cppi "$f"
done
Diffstat (limited to 'sysmips.c')
-rw-r--r-- | sysmips.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -11,18 +11,18 @@ #ifdef MIPS -#ifdef HAVE_LINUX_UTSNAME_H -# include <linux/utsname.h> -#endif -#ifdef HAVE_ASM_SYSMIPS_H -# include <asm/sysmips.h> -#endif - -#ifndef __NEW_UTS_LEN -# define __NEW_UTS_LEN 64 -#endif - -#include "xlat/sysmips_operations.h" +# ifdef HAVE_LINUX_UTSNAME_H +# include <linux/utsname.h> +# endif +# ifdef HAVE_ASM_SYSMIPS_H +# include <asm/sysmips.h> +# endif + +# ifndef __NEW_UTS_LEN +# define __NEW_UTS_LEN 64 +# endif + +# include "xlat/sysmips_operations.h" SYS_FUNC(sysmips) { |