From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross --- src/lib9/utf/lib9.h | 1 - src/lib9/utf/plan9.h | 1 - src/lib9/utf/rune.c | 2 +- src/lib9/utf/runestrdup.c | 4 ++-- src/lib9/utf/utfdef.h | 1 - 5 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src/lib9/utf') diff --git a/src/lib9/utf/lib9.h b/src/lib9/utf/lib9.h index e6128ae4..450f28f0 100644 --- a/src/lib9/utf/lib9.h +++ b/src/lib9/utf/lib9.h @@ -14,4 +14,3 @@ typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; - diff --git a/src/lib9/utf/plan9.h b/src/lib9/utf/plan9.h index e40e33eb..1ca8ace7 100644 --- a/src/lib9/utf/plan9.h +++ b/src/lib9/utf/plan9.h @@ -26,4 +26,3 @@ typedef unsigned long ulong; #undef nelem #define nelem(x) (sizeof (x)/sizeof (x)[0]) - diff --git a/src/lib9/utf/rune.c b/src/lib9/utf/rune.c index f5944806..bb2d82cb 100644 --- a/src/lib9/utf/rune.c +++ b/src/lib9/utf/rune.c @@ -155,7 +155,7 @@ runetochar(char *str, Rune *rune) str[2] = Tx | (c & Maskx); return 3; } - + /* * four character sequence * 010000-1FFFFF => T4 Tx Tx Tx diff --git a/src/lib9/utf/runestrdup.c b/src/lib9/utf/runestrdup.c index 8170e7bc..4f9d6f42 100644 --- a/src/lib9/utf/runestrdup.c +++ b/src/lib9/utf/runestrdup.c @@ -18,8 +18,8 @@ #include "utf.h" Rune* -runestrdup(Rune *s) -{ +runestrdup(Rune *s) +{ Rune *ns; ns = malloc(sizeof(Rune)*(runestrlen(s) + 1)); diff --git a/src/lib9/utf/utfdef.h b/src/lib9/utf/utfdef.h index 1ff41813..1db7076d 100644 --- a/src/lib9/utf/utfdef.h +++ b/src/lib9/utf/utfdef.h @@ -30,4 +30,3 @@ typedef long long vlong; #undef nelem #define nelem ((void*)0) - -- cgit v1.2.3