Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compat-43 Delint.



details:   https://anonhg.NetBSD.org/src/rev/21dfb54a8692
branches:  trunk
changeset: 480901:21dfb54a8692
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Jan 22 22:30:08 2000 +0000

description:
Delint.

diffstat:

 lib/libc/compat-43/getwd.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 1f33938c93fd -r 21dfb54a8692 lib/libc/compat-43/getwd.c
--- a/lib/libc/compat-43/getwd.c        Sat Jan 22 22:19:07 2000 +0000
+++ b/lib/libc/compat-43/getwd.c        Sat Jan 22 22:30:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getwd.c,v 1.11 1999/09/20 04:38:56 lukem Exp $ */
+/*     $NetBSD: getwd.c,v 1.12 2000/01/22 22:30:08 mycroft Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)getwd.c    8.1 (Berkeley) 6/2/93";
 #else
-__RCSID("$NetBSD: getwd.c,v 1.11 1999/09/20 04:38:56 lukem Exp $");
+__RCSID("$NetBSD: getwd.c,v 1.12 2000/01/22 22:30:08 mycroft Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -51,10 +51,8 @@
 #include <string.h>
 #include <unistd.h>
 
-#ifndef lint
 __warn_references(getwd,
-    "warning: getwd() possibly used unsafely, consider using getcwd()");
-#endif
+    "warning: getwd() possibly used unsafely, consider using getcwd()")
 
 char *
 getwd(buf)



Home | Main Index | Thread Index | Old Index