https://github.com/libsdl-org/libtiff/commit/aa4b39ffdbca4dea68173b56ae3620b525ba6551
From aa4b39ffdbca4dea68173b56ae3620b525ba6551 Mon Sep 17 00:00:00 2001
From: Bob Friesenhahn <[EMAIL REDACTED]>
Date: Mon, 21 Jun 2010 19:18:06 +0000
Subject: [PATCH] C files should not use C++ style comments.
---
libtiff/tif_jpeg.c | 4 ++--
tools/tiff2pdf.c | 4 ++--
tools/tiffdump.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libtiff/tif_jpeg.c b/libtiff/tif_jpeg.c
index a967827e..e044b801 100644
--- a/libtiff/tif_jpeg.c
+++ b/libtiff/tif_jpeg.c
@@ -1,4 +1,4 @@
-/* $Id: tif_jpeg.c,v 1.50.2.9 2010-06-14 02:47:16 fwarmerdam Exp $ */
+/* $Id: tif_jpeg.c,v 1.50.2.10 2010-06-21 19:18:06 bfriesen Exp $ */
/*
* Copyright (c) 1994-1997 Sam Leffler
@@ -1064,7 +1064,7 @@ JPEGDecodeRaw(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s)
}
}
else
- { // 12-bit
+ { /* 12-bit */
int value_pairs = (sp->cinfo.d.output_width
* sp->cinfo.d.num_components) / 2;
int iPair;
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c
index b1886c6d..6198fb5f 100644
--- a/tools/tiff2pdf.c
+++ b/tools/tiff2pdf.c
@@ -1,4 +1,4 @@
-/* $Id: tiff2pdf.c,v 1.37.2.10 2010-06-13 19:18:41 fwarmerdam Exp $
+/* $Id: tiff2pdf.c,v 1.37.2.11 2010-06-21 19:18:07 bfriesen Exp $
*
* tiff2pdf - converts a TIFF image to a PDF document
*
@@ -4799,7 +4799,7 @@ tsize_t t2p_write_pdf_transfer_dict(T2P* t2p, TIFF* output, uint16 i){
tsize_t written=0;
char buffer[32];
int buflen=0;
- (void)i; // XXX
+ (void)i; /* XXX */
written += t2pWriteFile(output, (tdata_t) "/FunctionType 0 \n", 17);
written += t2pWriteFile(output, (tdata_t) "/Domain [0.0 1.0] \n", 19);
diff --git a/tools/tiffdump.c b/tools/tiffdump.c
index 5161189a..cce3a087 100644
--- a/tools/tiffdump.c
+++ b/tools/tiffdump.c
@@ -1,4 +1,4 @@
-/* $Id: tiffdump.c,v 1.13.2.1 2010-06-08 18:50:44 bfriesen Exp $ */
+/* $Id: tiffdump.c,v 1.13.2.2 2010-06-21 19:18:07 bfriesen Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -195,7 +195,7 @@ dump(int fd, off_t diroff)
*/
if (hdr.tiff_magic != TIFF_BIGENDIAN && hdr.tiff_magic != TIFF_LITTLEENDIAN &&
#if HOST_BIGENDIAN
- // MDI is sensitive to the host byte order, unlike TIFF
+ /* MDI is sensitive to the host byte order, unlike TIFF */
MDI_BIGENDIAN != hdr.tiff_magic )
#else
MDI_LITTLEENDIAN != hdr.tiff_magic )