summaryrefslogtreecommitdiff
path: root/sysmips.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2018-12-30 15:35:21 +0000
committerDmitry V. Levin <ldv@altlinux.org>2018-12-30 15:35:21 +0000
commitd6c71dd0611e7e337edaf36c35ad51a90f404b14 (patch)
treef07993776311a1494d7dc339cf94d5a4c8dc5b82 /sysmips.c
parent51bd6db1ef017e44e878c62d4ea264f65106cb66 (diff)
downloadstrace-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.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sysmips.c b/sysmips.c
index d2b4b837c..b0b7eea25 100644
--- a/sysmips.c
+++ b/sysmips.c
@@ -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)
{