diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-11-05 20:33:40 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-11-05 20:33:40 +0000 |
commit | 3e00db61efc8e8fc7d328f24d170414bc889ff17 (patch) | |
tree | f39f8026981638c17e0b3d5d6e33038112872177 /usr.bin/cmp/special.c | |
parent | c296aeaf7d6950bfbefac0b5d5a7109221e952d5 (diff) | |
download | FreeBSD-src-3e00db61efc8e8fc7d328f24d170414bc889ff17.zip FreeBSD-src-3e00db61efc8e8fc7d328f24d170414bc889ff17.tar.gz |
Make filenames const to avoid a few warnings.
Add FreeBSD tags.
Reviewed by: cmp
Diffstat (limited to 'usr.bin/cmp/special.c')
-rw-r--r-- | usr.bin/cmp/special.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c index a9033b3..77d21bd 100644 --- a/usr.bin/cmp/special.c +++ b/usr.bin/cmp/special.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 @@ -47,7 +50,7 @@ static const char sccsid[] = "@(#)special.c 8.3 (Berkeley) 4/2/94"; void c_special(fd1, file1, skip1, fd2, file2, skip2) int fd1, fd2; - char *file1, *file2; + const char *file1, *file2; off_t skip1, skip2; { int ch1, ch2; |