Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): move name of inline functions to the b...



details:   https://anonhg.NetBSD.org/src/rev/378040ab4f0a
branches:  trunk
changeset: 945747:378040ab4f0a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Nov 06 22:37:07 2020 +0000

description:
make(1): move name of inline functions to the beginning of the line

diffstat:

 usr.bin/make/make.h |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (44 lines):

diff -r 5f9d449555e2 -r 378040ab4f0a usr.bin/make/make.h
--- a/usr.bin/make/make.h       Fri Nov 06 21:20:31 2020 +0000
+++ b/usr.bin/make/make.h       Fri Nov 06 22:37:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.194 2020/11/06 21:20:31 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.195 2020/11/06 22:37:07 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -706,20 +706,20 @@
 #define KILLPG(pid, sig)       killpg((pid), (sig))
 #endif
 
-static inline MAKE_ATTR_UNUSED Boolean ch_isalnum(char ch)
-{ return isalnum((unsigned char)ch) != 0; }
-static inline MAKE_ATTR_UNUSED Boolean ch_isalpha(char ch)
-{ return isalpha((unsigned char)ch) != 0; }
-static inline MAKE_ATTR_UNUSED Boolean ch_isdigit(char ch)
-{ return isdigit((unsigned char)ch) != 0; }
-static inline MAKE_ATTR_UNUSED Boolean ch_isspace(char ch)
-{ return isspace((unsigned char)ch) != 0; }
-static inline MAKE_ATTR_UNUSED Boolean ch_isupper(char ch)
-{ return isupper((unsigned char)ch) != 0; }
-static inline MAKE_ATTR_UNUSED char ch_tolower(char ch)
-{ return (char)tolower((unsigned char)ch); }
-static inline MAKE_ATTR_UNUSED char ch_toupper(char ch)
-{ return (char)toupper((unsigned char)ch); }
+static inline MAKE_ATTR_UNUSED Boolean
+ch_isalnum(char ch) { return isalnum((unsigned char)ch) != 0; }
+static inline MAKE_ATTR_UNUSED Boolean
+ch_isalpha(char ch) { return isalpha((unsigned char)ch) != 0; }
+static inline MAKE_ATTR_UNUSED Boolean
+ch_isdigit(char ch) { return isdigit((unsigned char)ch) != 0; }
+static inline MAKE_ATTR_UNUSED Boolean
+ch_isspace(char ch) { return isspace((unsigned char)ch) != 0; }
+static inline MAKE_ATTR_UNUSED Boolean
+ch_isupper(char ch) { return isupper((unsigned char)ch) != 0; }
+static inline MAKE_ATTR_UNUSED char
+ch_tolower(char ch) { return (char)tolower((unsigned char)ch); }
+static inline MAKE_ATTR_UNUSED char
+ch_toupper(char ch) { return (char)toupper((unsigned char)ch); }
 
 static inline MAKE_ATTR_UNUSED void
 cpp_skip_whitespace(const char **pp)



Home | Main Index | Thread Index | Old Index