Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source Use correct argument type in call to "fp...
details: https://anonhg.NetBSD.org/src/rev/accebdd6cdfa
branches: trunk
changeset: 495094:accebdd6cdfa
user: tron <tron%NetBSD.org@localhost>
date: Fri Jul 21 16:03:14 2000 +0000
description:
Use correct argument type in call to "fparseln(3)". Fix supplied by
Motoyuki Konno in PR bin/10645.
diffstat:
usr.sbin/sup/source/read_line.c | 6 +++---
usr.sbin/sup/source/supextern.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 9f4f270fe25a -r accebdd6cdfa usr.sbin/sup/source/read_line.c
--- a/usr.sbin/sup/source/read_line.c Fri Jul 21 13:54:38 2000 +0000
+++ b/usr.sbin/sup/source/read_line.c Fri Jul 21 16:03:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read_line.c,v 1.3 2000/07/19 07:52:45 enami Exp $ */
+/* $NetBSD: read_line.c,v 1.4 2000/07/21 16:03:14 tron Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: read_line.c,v 1.3 2000/07/19 07:52:45 enami Exp $");
+__RCSID("$NetBSD: read_line.c,v 1.4 2000/07/21 16:03:14 tron Exp $");
#endif
#include <sys/param.h>
@@ -55,7 +55,7 @@
read_line(fp, size, lineno, delim, flags)
FILE *fp;
size_t *size;
- int *lineno;
+ size_t *lineno;
const char delim[3]; /* unused */
int flags; /* unused */
{
diff -r 9f4f270fe25a -r accebdd6cdfa usr.sbin/sup/source/supextern.h
--- a/usr.sbin/sup/source/supextern.h Fri Jul 21 13:54:38 2000 +0000
+++ b/usr.sbin/sup/source/supextern.h Fri Jul 21 16:03:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: supextern.h,v 1.11 2000/07/19 07:52:45 enami Exp $ */
+/* $NetBSD: supextern.h,v 1.12 2000/07/21 16:03:14 tron Exp $ */
struct stat;
@@ -56,7 +56,7 @@
void quit __P((int, char *, ...));
/* read_line.c */
-char *read_line __P((FILE *, size_t *, int *, const char[3], int));
+char *read_line __P((FILE *, size_t *, size_t *, const char[3], int));
/* run.c */
int run __P((char *, ...));
Home |
Main Index |
Thread Index |
Old Index