]> git.sur5r.net Git - cc65/blobdiff - src/ar65/extract.c
goto.c warning fix for implicit truncation
[cc65] / src / ar65 / extract.c
index e6769f76f577abfe6a779b2ab172422507ae0d9e..c1a8fd82bf95122c00afab5418ffae236996a2cb 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                extract.c                                 */
+/*                                 extract.c                                 */
 /*                                                                           */
-/*              Object file extraction for the ar65 archiver                */
+/*               Object file extraction for the ar65 archiver                */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -43,7 +43,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -55,10 +55,10 @@ void ExtractObjFiles (int argc, char* argv [])
 
     /* Check the argument count */
     if (argc <= 0) {
-       Error ("No library name given");
+        Error ("No library name given");
     }
     if (argc <= 1) {
-       Error ("No object files to extract");
+        Error ("No object files to extract");
     }
 
     /* Open the library, read the index */
@@ -67,8 +67,8 @@ void ExtractObjFiles (int argc, char* argv [])
     /* Extract the object files */
     I = 1;
     while (I < argc) {
-       ObjExtract (argv [I]);
-       ++I;
+        ObjExtract (argv [I]);
+        ++I;
     }
 
     /* Create a new library file and close the old one */
@@ -77,6 +77,3 @@ void ExtractObjFiles (int argc, char* argv [])
     /* Successful end */
     exit (EXIT_SUCCESS);
 }
-
-
-