Module Name:    src
Committed By:   rillig
Date:           Fri Nov  6 22:37:07 UTC 2020

Modified Files:
        src/usr.bin/make: make.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/usr.bin/make/make.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/make.h
diff -u src/usr.bin/make/make.h:1.194 src/usr.bin/make/make.h:1.195
--- src/usr.bin/make/make.h:1.194	Fri Nov  6 21:20:31 2020
+++ src/usr.bin/make/make.h	Fri Nov  6 22:37:07 2020
@@ -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 @@ GNode_VarMember(GNode *gn) { return Var_
 #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)

Reply via email to