Subject: CVS commit: src/sbin/route
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 08/10/2005 11:48:17
Module Name: src
Committed By: he
Date: Wed Aug 10 11:48:17 UTC 2005
Modified Files:
src/sbin/route: route.c
Log Message:
Make this build for __GNUC__ <= 2 (i.e. for vax). The cast to
caddr_t removes a const qualifier. Instead, cast the first element
of the subtraction to "struct sockaddr *" to work around the problem.
To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 src/sbin/route/route.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.