diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-03-19 13:29:28 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-03-19 13:29:28 +0000 |
commit | 0fd510b71aa44308681d2e01c9d772f32af24313 (patch) | |
tree | 163891f0a6f18e48e3d38e4d107ad82c2f5c570a /bin/ed/re.c | |
parent | 967a3bf89387d29910172d5d39863b19da1c3685 (diff) | |
download | src-0fd510b71aa44308681d2e01c9d772f32af24313.tar.gz src-0fd510b71aa44308681d2e01c9d772f32af24313.zip |
You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.
I (Joerg) finished most of Philippe's cleanup. /bin/sh will still
need *allot* of work, however.
Submitted by: charnier@lirmm.fr (Philippe Charnier)
Notes
Notes:
svn path=/head/; revision=7165
Diffstat (limited to 'bin/ed/re.c')
-rw-r--r-- | bin/ed/re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/re.c b/bin/ed/re.c index 779bdd55ad98..805f59f20235 100644 --- a/bin/ed/re.c +++ b/bin/ed/re.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: re.c,v 1.8 1994/09/24 02:55:29 davidg Exp $ */ #ifndef lint @@ -67,7 +67,7 @@ get_compiled_pattern() return NULL; } patlock = 0; - if (n = regcomp(exp, exps, 0)) { + if ((n = regcomp(exp, exps, 0))) { regerror(n, exp, errmsg, sizeof errmsg); free(exp); return exp = NULL; |