]> git.sur5r.net Git - cc65/blobdiff - src/ld65/span.c
Minor changes after review.
[cc65] / src / ld65 / span.c
index 19bf8abe1d86d85675d45880e581266f9ee2023d..498ab762ada2e9cac0729cb4af36841a70f5b971 100644 (file)
@@ -54,7 +54,7 @@
 
 /* Definition of a span */
 struct Span {
-    unsigned           Id;             /* Id of the span */
+    unsigned            Id;             /* Id of the span */
     unsigned            Sec;            /* Section id of this span */
     unsigned long       Offs;           /* Offset of span within segment */
     unsigned long       Size;           /* Size of span */
@@ -64,7 +64,7 @@ struct Span {
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -111,9 +111,9 @@ Span* ReadSpan (FILE* F, ObjData* O, unsigned Id)
 
 unsigned* ReadSpanList (FILE* F)
 /* Read a list of span ids from a file. The list is returned as an array of
- * unsigneds, the first being the number of spans (never zero) followed by
- * the span ids. If the number of spans is zero, NULL is returned.
- */
+** unsigneds, the first being the number of spans (never zero) followed by
+** the span ids. If the number of spans is zero, NULL is returned.
+*/
 {
     unsigned* Spans;
 
@@ -187,9 +187,9 @@ unsigned SpanCount (void)
 
 void PrintDbgSpanList (FILE* F, const ObjData* O, const unsigned* List)
 /* Output a string ",span=x[+y...]" for the given list. If the list is empty
- * or NULL, output nothing. This is a helper function for other modules to
- * print a list of spans read by ReadSpanList to the debug info file.
- */
+** or NULL, output nothing. This is a helper function for other modules to
+** print a list of spans read by ReadSpanList to the debug info file.
+*/
 {
     if (List && *List) {
         unsigned I;
@@ -245,6 +245,3 @@ void PrintDbgSpans (FILE* F)
     /* Free the string buffer */
     SB_Done (&SpanType);
 }
-
-
-