summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/hexdump/display.c4
-rw-r--r--usr.bin/sed/process.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c
index 4c7d863..f2eb93b 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 02500b3..e7abf71 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;
OpenPOWER on IntegriCloud