Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_edit.c entrance_ipc.c 


Log Message:
Add missing headers.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_edit.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- entrance_edit.c     16 Aug 2005 04:03:27 -0000      1.13
+++ entrance_edit.c     5 Sep 2005 12:05:57 -0000       1.14
@@ -9,6 +9,7 @@
 #include <unistd.h>
 #include <getopt.h>
 #include <string.h>
+#include <dirent.h>
 #include <Ecore_Config.h>
 #include <Edje.h>
 #include <Esmart/Esmart_Container.h>
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_ipc.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- entrance_ipc.c      20 Dec 2004 03:07:05 -0000      1.12
+++ entrance_ipc.c      5 Sep 2005 12:05:57 -0000       1.13
@@ -3,6 +3,8 @@
  *========================================================================*/
 #include "entrance_ipc.h"
 
+#include <sys/stat.h>
+
 static Ecore_Ipc_Server *server = NULL;
 static Entrance_Session *_session = NULL;
 static char *ipc_title = NULL;
@@ -20,7 +22,7 @@
 
    e = (Ecore_Ipc_Event_Server_Add *) event;
    fprintf(stderr, "_entrance_ipc_server_add: Received event\n");
-   return TRUE;
+   return 1;
 }
 
 /**
@@ -36,7 +38,7 @@
 
    e = (Ecore_Ipc_Event_Server_Del *) event;
    fprintf(stderr, "_entrance_ipc_server_del: Received event\n");
-   return TRUE;
+   return 1;
 }
 
 /**
@@ -72,7 +74,7 @@
       }
    }
 
-   return TRUE;
+   return 1;
 }
 
 /**
@@ -88,7 +90,7 @@
 
    e = (Ecore_Ipc_Event_Client_Add *) event;
    fprintf(stderr, "_entrance_ipc_client_add: Received event\n");
-   return TRUE;
+   return 1;
 }
 
 /**
@@ -104,7 +106,7 @@
 
    e = (Ecore_Ipc_Event_Client_Del *) event;
    fprintf(stderr, "_entrance_ipc_client_del: Received event\n");
-   return TRUE;
+   return 1;
 }
 
 /**
@@ -123,7 +125,7 @@
    printf("_entrance_ipc_client_data: Received [%i] [%i] (%i) \"%s\"\n",
           e->major, e->minor, e->size, (char *) e->data);
 
-   return TRUE;
+   return 1;
 }
 
 int
@@ -133,7 +135,7 @@
 
    /* we definitely fail if we can't connect to ecore_ipc */
    if (ecore_ipc_init() < 1)
-      return FALSE;
+      return 0;
 
    memset(buf, 0, sizeof(buf));
    {
@@ -190,7 +192,7 @@
    else
       syslog(LOG_INFO, "entrance_ipc_init: connect to daemon failed.");
 
-   return TRUE;
+   return 1;
 }
 
 void




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to