Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Make the lint hack compile (missing prototype).



details:   https://anonhg.NetBSD.org/src/rev/80d9346bce5a
branches:  trunk
changeset: 484970:80d9346bce5a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 16 01:16:43 2000 +0000

description:
Make the lint hack compile (missing prototype).

diffstat:

 lib/libcurses/ctrace.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r edefd98620aa -r 80d9346bce5a lib/libcurses/ctrace.c
--- a/lib/libcurses/ctrace.c    Sat Apr 15 23:37:30 2000 +0000
+++ b/lib/libcurses/ctrace.c    Sun Apr 16 01:16:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctrace.c,v 1.7 2000/04/15 13:17:03 blymn Exp $ */
+/*     $NetBSD: ctrace.c,v 1.8 2000/04/16 01:16:43 thorpej Exp $       */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)ctrace.c   8.2 (Berkeley) 10/5/93";
 #else
-__RCSID("$NetBSD: ctrace.c,v 1.7 2000/04/15 13:17:03 blymn Exp $");
+__RCSID("$NetBSD: ctrace.c,v 1.8 2000/04/16 01:16:43 thorpej Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -84,9 +84,10 @@
 }
 #else
 /* this kills the empty translation unit message from lint... */
+void __cursesi_make_lint_shut_up_if_debug_not_defined(void);
 void
 __cursesi_make_lint_shut_up_if_debug_not_defined(void)
 {
-  return;
+       return;
 }
 #endif



Home | Main Index | Thread Index | Old Index