]> git.sur5r.net Git - cc65/blobdiff - src/cc65/textseg.c
Merge remote-tracking branch 'upstream/master' into a5200
[cc65] / src / cc65 / textseg.c
index 172a1c45023e9cde67007aa358b8eeab3af8f10a..cbb393b50a55c8233d0e3d271eb53498cd8c37c8 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                textseg.c                                 */
+/*                                 textseg.c                                 */
 /*                                                                           */
-/*                         Text segment structure                           */
+/*                          Text segment structure                           */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -50,7 +50,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -59,10 +59,10 @@ TextSeg* NewTextSeg (SymEntry* Func)
 /* Create a new text segment, initialize and return it */
 {
     /* Allocate memory for the structure */
-    TextSeg* S         = xmalloc (sizeof (TextSeg));
+    TextSeg* S  = xmalloc (sizeof (TextSeg));
 
     /* Initialize the fields */
-    S->Func    = Func;
+    S->Func     = Func;
     InitCollection (&S->Lines);
 
     /* Return the new struct */
@@ -105,7 +105,7 @@ void TS_Output (const TextSeg* S)
 
     /* If the segment is actually empty, bail out */
     if (Count == 0) {
-       return;
+        return;
     }
 
     /* Output all entries */
@@ -116,6 +116,3 @@ void TS_Output (const TextSeg* S)
     /* Add an additional newline after the segment output */
     WriteOutput ("\n");
 }
-
-
-