From ea5319421a589ebd8583734a461346e1f0d91bec Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sun, 4 Mar 2012 04:05:16 +0000 Subject: In preparation for getline and getdelim additions to libc, rename getline() occurrences to get_line(). Based on a diff from Jan Klemkow to tech. --- games/boggle/boggle/bog.c | 4 ++-- games/boggle/boggle/extern.h | 4 ++-- games/boggle/boggle/mach.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'games/boggle') diff --git a/games/boggle/boggle/bog.c b/games/boggle/boggle/bog.c index 86170628925..bfaf04afa61 100644 --- a/games/boggle/boggle/bog.c +++ b/games/boggle/boggle/bog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bog.c,v 1.20 2009/10/27 23:59:24 deraadt Exp $ */ +/* $OpenBSD: bog.c,v 1.21 2012/03/04 04:05:15 fgsch Exp $ */ /* $NetBSD: bog.c,v 1.5 1995/04/24 12:22:32 cgd Exp $ */ /*- @@ -274,7 +274,7 @@ playgame(void) } while (1) { - if (getline(buf) == NULL) { + if (get_line(buf) == NULL) { if (feof(stdin)) clearerr(stdin); break; diff --git a/games/boggle/boggle/extern.h b/games/boggle/boggle/extern.h index 0fc7b0d5bb8..868837ca984 100644 --- a/games/boggle/boggle/extern.h +++ b/games/boggle/boggle/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.6 2003/06/03 03:01:39 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.7 2012/03/04 04:05:15 fgsch Exp $ */ /* $NetBSD: extern.h,v 1.3 1995/04/24 12:22:37 cgd Exp $ */ /*- @@ -42,7 +42,7 @@ void delay(int); long dictseek(FILE *, long, int); void findword(void); void flushin(FILE *); -char *getline(char *); +char *get_line(char *); void getword(char *); int help(void); int inputch(void); diff --git a/games/boggle/boggle/mach.c b/games/boggle/boggle/mach.c index fb16b4b269c..2c9149675a1 100644 --- a/games/boggle/boggle/mach.c +++ b/games/boggle/boggle/mach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mach.c,v 1.12 2009/10/27 23:59:24 deraadt Exp $ */ +/* $OpenBSD: mach.c,v 1.13 2012/03/04 04:05:15 fgsch Exp $ */ /* $NetBSD: mach.c,v 1.5 1995/04/28 22:28:48 mycroft Exp $ */ /*- @@ -194,7 +194,7 @@ prwidth(char **base, int indx) * - doesn't accept words longer than MAXWORDLEN or containing caps */ char * -getline(char *q) +get_line(char *q) { int ch, done; char *p; -- cgit v1.2.3