Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h file.c file.h main.c 


Log Message:
Move function.

===================================================================
RCS file: /cvs/e/e16/e/src/E.h,v
retrieving revision 1.572
retrieving revision 1.573
diff -u -3 -r1.572 -r1.573
--- E.h 27 Dec 2006 16:34:48 -0000      1.572
+++ E.h 7 Jan 2007 15:25:44 -0000       1.573
@@ -630,6 +630,7 @@
 void                EDirMake(const char *base, const char *name);
 const char         *EGetSavePrefix(void);
 const char         *EGetSavePrefixCommon(void);
+void                Etmp(char *s);
 
 /* misc.c */
 void                Quicksort(void **a, int l, int r,
===================================================================
RCS file: /cvs/e/e16/e/src/file.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- file.c      24 Jul 2006 23:56:39 -0000      1.75
+++ file.c      7 Jan 2007 15:25:44 -0000       1.76
@@ -30,14 +30,6 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-void
-Etmp(char *s)
-{
-   static unsigned int n_calls = 0;
-
-   Esnprintf(s, 1024, "%s/TMP_%d_%d", EDirUser(), getpid(), n_calls++);
-}
-
 char              **
 E_ls(const char *dir, int *num)
 {
===================================================================
RCS file: /cvs/e/e16/e/src/file.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- file.h      24 Jul 2006 21:10:58 -0000      1.1
+++ file.h      7 Jan 2007 15:25:44 -0000       1.2
@@ -25,8 +25,6 @@
 
 #include <time.h>
 
-void                Etmp(char *s);
-
 void                E_md(const char *s);
 void                E_mv(const char *s, const char *ss);
 void                E_rm(const char *s);
===================================================================
RCS file: /cvs/e/e16/e/src/main.c,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -3 -r1.153 -r1.154
--- main.c      19 Nov 2006 21:55:51 -0000      1.153
+++ main.c      7 Jan 2007 15:25:44 -0000       1.154
@@ -566,6 +566,14 @@
    return EDirUser();
 }
 
+void
+Etmp(char *s)
+{
+   static unsigned int n_calls = 0;
+
+   Esnprintf(s, 1024, "%s/TMP_%d_%d", EDirUser(), getpid(), n_calls++);
+}
+
 static void
 EDirCheck(const char *dir)
 {



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to