summaryrefslogtreecommitdiff
path: root/lib/full-write.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-02-24 23:17:38 +0000
committerJim Meyering <jim@meyering.net>1998-02-24 23:17:38 +0000
commit0a1fd1d2ad9aed39a588746ca6132c2bf98d1a4c (patch)
tree9942e9f5bb21481ef286d4fe3d3940be2f701ecc /lib/full-write.c
parent7a04e95c6254c84b634dc2800faf7161c9c5d87c (diff)
downloadcoreutils-0a1fd1d2ad9aed39a588746ca6132c2bf98d1a4c.tar.xz
protoize
Diffstat (limited to 'lib/full-write.c')
-rw-r--r--lib/full-write.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/full-write.c b/lib/full-write.c
index 1e80b0a8a..ac27d6209 100644
--- a/lib/full-write.c
+++ b/lib/full-write.c
@@ -1,5 +1,5 @@
/* full-write.c -- an interface to write that retries after interrupts
- Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,10 +37,7 @@ extern int errno;
Return LEN upon success, write's (negative) error code otherwise. */
int
-full_write (desc, ptr, len)
- int desc;
- char *ptr;
- size_t len;
+full_write (int desc, const char *ptr, size_t len)
{
int total_written;