diff options
author | 2015-03-16 13:47:48 +0000 | |
---|---|---|
committer | 2015-03-16 13:47:48 +0000 | |
commit | e9410584915d655d588bcc086a70bfecee6511f6 (patch) | |
tree | 08a5aa7ee0fcc46b4145652aae9ec35d7aa54e01 | |
parent | Don't include limits.h or sys/limits.h since grep.h already does it (diff) | |
download | wireguard-openbsd-e9410584915d655d588bcc086a70bfecee6511f6.tar.xz wireguard-openbsd-e9410584915d655d588bcc086a70bfecee6511f6.zip |
Change the internal name of the newline function to deconflict with a
function of the same name in term.h. This is the first step towards
cleaning up mg's includes. No user-visible changes.
ok florian@
-rw-r--r-- | usr.bin/mg/theo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/theo.c b/usr.bin/mg/theo.c index 2f30d3295c3..9a41bc8767d 100644 --- a/usr.bin/mg/theo.c +++ b/usr.bin/mg/theo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: theo.c,v 1.143 2014/11/19 21:22:47 schwarze Exp $ */ +/* $OpenBSD: theo.c,v 1.144 2015/03/16 13:47:48 bcallah Exp $ */ /* * Copyright (c) 2002 Artur Grabowski <art@openbsd.org> * All rights reserved. @@ -201,12 +201,12 @@ theo_analyze(int f, int n) str = talk[arc4random_uniform(ntalk)]; len = strlen(str); - newline(FFRAND, 2); + enewline(FFRAND, 2); while (len--) linsert(1, *str++); - newline(FFRAND, 2); + enewline(FFRAND, 2); return (TRUE); } |