Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_dbus


Modified Files:
        ecore_dbus_address.c 


Log Message:
make these static const

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_dbus/ecore_dbus_address.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ecore_dbus_address.c        25 Sep 2006 05:30:48 -0000      1.3
+++ ecore_dbus_address.c        25 Sep 2006 05:39:50 -0000      1.4
@@ -272,7 +272,7 @@
 _ecore_dbus_address_value_char_optional_encode(char c)
 {
    /* addl optional chars (other than 0-9A-Za-z) */
-   char OPTIONAL_CHARS[] = {'_', '-', '/', '.', '\\'};
+   static const char OPTIONAL_CHARS[] = {'_', '-', '/', '.', '\\'};
    int i;
 
    if (isascii(c) && (isalpha(c) || isdigit(c))) return 1;
@@ -291,7 +291,7 @@
    const char *p;
    int i;
 
-   const char hexdigits[16] = {
+   static const char hexdigits[16] = {
       '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
       'a', 'b', 'c', 'd', 'e', 'f'
    };



-------------------------------------------------------------------------
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