summaryrefslogtreecommitdiff
path: root/usr.bin/cmp/misc.c
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2001-11-05 20:33:40 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2001-11-05 20:33:40 +0000
commitc5250ed112144f5c40128fc0d486dd51bf49e4e8 (patch)
treef39f8026981638c17e0b3d5d6e33038112872177 /usr.bin/cmp/misc.c
parentebf362130e9f7f162bd490bdd3e928defeee83b9 (diff)
Notes
Diffstat (limited to 'usr.bin/cmp/misc.c')
-rw-r--r--usr.bin/cmp/misc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cmp/misc.c b/usr.bin/cmp/misc.c
index 248ef93f0b74..258d86063967 100644
--- a/usr.bin/cmp/misc.c
+++ b/usr.bin/cmp/misc.c
@@ -29,6 +29,9 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ *
*/
#ifndef lint
@@ -45,7 +48,7 @@ static const char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
void
eofmsg(file)
- char *file;
+ const char *file;
{
if (!sflag)
warnx("EOF on %s", file);
@@ -54,7 +57,7 @@ eofmsg(file)
void
diffmsg(file1, file2, byte, line)
- char *file1, *file2;
+ const char *file1, *file2;
off_t byte, line;
{
if (!sflag)