]> git.sur5r.net Git - cc65/blobdiff - src/ld65/fileio.c
Minor changes after review.
[cc65] / src / ld65 / fileio.c
index 19943ecad3a91580666a5d426f98d73628f4a7de..f6a2719a67a3a2f386d79b19b68be4f54b4c6009 100644 (file)
@@ -147,10 +147,10 @@ void WriteVar (FILE* F, unsigned long V)
 /* Write a variable sized value to the file in special encoding */
 {
     /* We will write the value to the file in 7 bit chunks. If the 8th bit
-     * is clear, we're done, if it is set, another chunk follows. This will
-     * allow us to encode smaller values with less bytes, at the expense of
-     * needing 5 bytes if a 32 bit value is written to file.
-     */
+    ** is clear, we're done, if it is set, another chunk follows. This will
+    ** allow us to encode smaller values with less bytes, at the expense of
+    ** needing 5 bytes if a 32 bit value is written to file.
+    */
     do {
         unsigned char C = (V & 0x7F);
         V >>= 7;
@@ -258,8 +258,8 @@ unsigned long ReadVar (FILE* F)
 /* Read a variable size value from the file */
 {
     /* The value was written to the file in 7 bit chunks LSB first. If there
-     * are more bytes, bit 8 is set, otherwise it is clear.
-     */
+    ** are more bytes, bit 8 is set, otherwise it is clear.
+    */
     unsigned char C;
     unsigned long V = 0;
     unsigned Shift = 0;
@@ -280,8 +280,8 @@ unsigned long ReadVar (FILE* F)
 
 unsigned ReadStr (FILE* F)
 /* Read a string from the file, place it into the global string pool, and
- * return its string id.
- */
+** return its string id.
+*/
 {
     unsigned    Id;
     StrBuf      Buf = STATIC_STRBUF_INITIALIZER;