Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/comsat Don't launder const
details: https://anonhg.NetBSD.org/src/rev/cfaf3b318a8c
branches: trunk
changeset: 755250:cfaf3b318a8c
user: dholland <dholland%NetBSD.org@localhost>
date: Sat May 29 23:05:22 2010 +0000
description:
Don't launder const
diffstat:
libexec/comsat/comsat.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r d5ff71c201ec -r cfaf3b318a8c libexec/comsat/comsat.c
--- a/libexec/comsat/comsat.c Sat May 29 22:56:01 2010 +0000
+++ b/libexec/comsat/comsat.c Sat May 29 23:05:22 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: comsat.c,v 1.39 2009/03/14 11:43:24 lukem Exp $ */
+/* $NetBSD: comsat.c,v 1.40 2010/05/29 23:05:22 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: comsat.c,v 1.39 2009/03/14 11:43:24 lukem Exp $");
+__RCSID("$NetBSD: comsat.c,v 1.40 2010/05/29 23:05:22 dholland Exp $");
#endif
#endif /* not lint */
@@ -89,7 +89,7 @@
int main(int, char *[]);
static void jkfprintf(FILE *, const char *, off_t, const char *);
-static void mailfor(const char *);
+static void mailfor(char *);
static void notify(const struct utmpentry *, off_t);
static void onalrm(int);
static void checkutmp(void);
@@ -183,7 +183,7 @@
}
static void
-mailfor(const char *name)
+mailfor(char *name)
{
struct utmpentry *ep;
char *cp, *fn;
Home |
Main Index |
Thread Index |
Old Index