diff options
author | David Malone <dwmalone@FreeBSD.org> | 2001-11-05 20:33:40 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2001-11-05 20:33:40 +0000 |
commit | c5250ed112144f5c40128fc0d486dd51bf49e4e8 (patch) | |
tree | f39f8026981638c17e0b3d5d6e33038112872177 /usr.bin/cmp/special.c | |
parent | ebf362130e9f7f162bd490bdd3e928defeee83b9 (diff) | |
download | src-c5250ed112144f5c40128fc0d486dd51bf49e4e8.tar.gz src-c5250ed112144f5c40128fc0d486dd51bf49e4e8.zip |
Make filenames const to avoid a few warnings.
Add FreeBSD tags.
Reviewed by: cmp
Notes
Notes:
svn path=/head/; revision=86099
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 a9033b363c86..77d21bdd14e4 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; |