From 8bd89d7e04241ff15fd4e7b396733a3049ee9acd Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 19 Jul 2002 14:12:27 +0000 Subject: [PATCH] s/inline/__inline/ --- usr.bin/hexdump/display.c | 4 ++-- usr.bin/sed/process.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c index 4c7d8638237..f2eb93b11f9 100644 --- a/usr.bin/hexdump/display.c +++ b/usr.bin/hexdump/display.c @@ -55,7 +55,7 @@ enum _vflag vflag = FIRST; static off_t address; /* address/offset in stream */ static off_t eaddress; /* end address */ -static inline void print(PR *, u_char *); +static __inline void print(PR *, u_char *); void display() @@ -112,7 +112,7 @@ display() } } -static inline void +static __inline void print(pr, bp) PR *pr; u_char *bp; diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 02500b3ba33..e7abf71c2d0 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -68,10 +68,10 @@ static SPACE HS, PS, SS; #define hs HS.space #define hsl HS.len -static inline int applies(struct s_command *); +static __inline int applies(struct s_command *); static void flush_appends(void); static void lputs(char *); -static inline int regexec_e(regex_t *, const char *, int, int, size_t); +static __inline int regexec_e(regex_t *, const char *, int, int, size_t); static void regsub(SPACE *, char *, char *); static int substitute(struct s_command *); @@ -276,7 +276,7 @@ new: if (!nflag && !pd) * Return TRUE if the command applies to the current line. Sets the inrange * flag to process ranges. Interprets the non-select (``!'') flag. */ -static inline int +static __inline int applies(cp) struct s_command *cp; { @@ -516,7 +516,7 @@ lputs(s) errx(1, "stdout: %s", strerror(errno ? errno : EIO)); } -static inline int +static __inline int regexec_e(preg, string, eflags, nomatch, slen) regex_t *preg; const char *string;