c-first-steps

a C playground
Index Commits Files Refs README
commit 3d69f93dd9143363ecb71e626a22f22d9d704655
parent e8668e8901fc862b6d2348501e1faebb9d0670c6
Author: Martin J. Klöckner <martin.cachari@gmail.com>
Date:   Thu, 17 Dec 2020 01:44:43 -0300

Update on ex01.c source code;

Diffstat:
M95.11/guia08/ex01.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/95.11/guia08/ex01.c b/95.11/guia08/ex01.c
@@ -15,8 +15,8 @@ typedef enum {
 
 status_t validar_argumentos(int argc, char **argv);
 
-int main (int argc, char * argv[]) {
-
+int main (int argc, char * argv[]) 
+{
     char *dest;
     size_t i;
     status_t st;
@@ -46,7 +46,8 @@ int main (int argc, char * argv[]) {
     return OK;
 }
 
-status_t validar_argumentos(int argc, char **argv) {
+status_t validar_argumentos(int argc, char **argv) 
+{
     if(argc == NO_ARGUMENT)
         return ERROR_PROGRAM_INVOCATION;