Source-Changes-HG archive

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

[src/trunk]: src/include First argument to secure_path() is const. XXX Why is...



details:   https://anonhg.NetBSD.org/src/rev/82f2db8a3312
branches:  trunk
changeset: 497080:82f2db8a3312
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Sep 18 16:57:11 2000 +0000

description:
First argument to secure_path() is const. XXX Why is it re-declared here?

diffstat:

 include/login_cap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r be96dc4db7d2 -r 82f2db8a3312 include/login_cap.h
--- a/include/login_cap.h       Mon Sep 18 16:47:11 2000 +0000
+++ b/include/login_cap.h       Mon Sep 18 16:57:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: login_cap.h,v 1.3 2000/07/18 15:29:47 ad Exp $ */
+/*     $NetBSD: login_cap.h,v 1.4 2000/09/18 16:57:11 ad Exp $ */
 
 /*-
  * Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@@ -71,7 +71,7 @@
 char   *login_getcapstr(login_cap_t *, char *, char *, char *);
 quad_t  login_getcaptime(login_cap_t *, char *, quad_t, quad_t);
 
-int    secure_path(char *);
+int    secure_path(const char *);
 int    setclasscontext(char *, u_int);
 int    setusercontext(login_cap_t *, struct passwd *, uid_t, u_int);
 



Home | Main Index | Thread Index | Old Index