Enlightenment CVS committal

Author  : turran
Project : e17
Module  : proto/enesim

Dir     : e17/proto/enesim/src/lib/vector/component


Modified Files:
        transform.c source_csv.c reader.c component.c 
Added Files:
        .cvsignore 


Log Message:
- Add ignore files
- Clean up several warnings (thanks caro)

===================================================================
RCS file: /cvs/e/e17/proto/enesim/src/lib/vector/component/transform.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- transform.c 12 Oct 2007 11:04:53 -0000      1.1
+++ transform.c 14 Oct 2007 17:49:28 -0000      1.2
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+
 #include "Enesim.h"
 #include "enesim_private.h"
 #include "enesim_vector.h"
===================================================================
RCS file: /cvs/e/e17/proto/enesim/src/lib/vector/component/source_csv.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- source_csv.c        12 Oct 2007 11:04:53 -0000      1.1
+++ source_csv.c        14 Oct 2007 17:49:28 -0000      1.2
@@ -1,4 +1,6 @@
+#include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 
 #include "Enesim.h"
 #include "enesim_private.h"
@@ -24,7 +26,7 @@
 
 static int enesim_source_csv_open(Source_Csv *d, const char *name)
 {
-       if (!name) return;
+       if (!name) return 0;
        
        d->name = strdup(name);
        d->f = fopen(name, "r");
===================================================================
RCS file: /cvs/e/e17/proto/enesim/src/lib/vector/component/reader.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- reader.c    12 Oct 2007 11:04:53 -0000      1.1
+++ reader.c    14 Oct 2007 17:49:28 -0000      1.2
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+
 #include "Enesim.h"
 #include "enesim_private.h"
 #include "enesim_vector.h"
@@ -9,7 +11,7 @@
 /*============================================================================*
  *                                  Local                                     
* 
  
*============================================================================*/
-static inline _rewind(Enesim_Component_Reader *r)
+static inline void _rewind(Enesim_Component_Reader *r)
 {
        r->points = r->from->path->points;
        r->cmds = r->from->path->cmds;
@@ -104,5 +106,6 @@
 EAPI int enesim_reader_vertices_get(Enesim_Component_Reader *r, float *x, 
float *y, int *cmds)
 {
 
-
+  /* for now, return 0 */
+  return 0;
 }
===================================================================
RCS file: /cvs/e/e17/proto/enesim/src/lib/vector/component/component.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- component.c 12 Oct 2007 11:04:53 -0000      1.1
+++ component.c 14 Oct 2007 17:49:28 -0000      1.2
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+
 #include "Enesim.h"
 #include "enesim_private.h"
 #include "container.h"



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to