diff options
author | obrien <obrien@FreeBSD.org> | 2010-10-13 22:18:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-10-13 22:18:03 +0000 |
commit | 08b8d916b5887267ef963fd711f1e65b7d8378ac (patch) | |
tree | e6aebfbd6fc9b05a3d5978a6cd639a9acb7a748a /bin/sh/histedit.c | |
parent | 67f7009c396ada7a6c986ffb8369f851e1063b6f (diff) | |
download | FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.zip FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.tar.gz |
In the spirit of r90111, depend on c89 and remove the "STATIC" macro
and its usage.
Diffstat (limited to 'bin/sh/histedit.c')
-rw-r--r-- | bin/sh/histedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index d92a7a3..7773ad8 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -68,7 +68,7 @@ EditLine *el; /* editline cookie */ int displayhist; static FILE *el_in, *el_out, *el_err; -STATIC char *fc_replace(const char *, char *, char *); +static char *fc_replace(const char *, char *, char *); /* * Set history and editing status. Called whenever the status may @@ -402,7 +402,7 @@ histcmd(int argc, char **argv) return 0; } -STATIC char * +static char * fc_replace(const char *s, char *p, char *r) { char *dest; |