commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1814170 - in /commons/proper/daemon/trunk/src/native/windows: include/apxwin.h src/mclib.c
Date Fri, 03 Nov 2017 12:38:57 GMT
Author: markt
Date: Fri Nov  3 12:38:56 2017
New Revision: 1814170

URL: http://svn.apache.org/viewvc?rev=1814170&view=rev
Log:
Unicode clean-up. Remove unused code.

Modified:
    commons/proper/daemon/trunk/src/native/windows/include/apxwin.h
    commons/proper/daemon/trunk/src/native/windows/src/mclib.c

Modified: commons/proper/daemon/trunk/src/native/windows/include/apxwin.h
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/include/apxwin.h?rev=1814170&r1=1814169&r2=1814170&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/include/apxwin.h (original)
+++ commons/proper/daemon/trunk/src/native/windows/include/apxwin.h Fri Nov  3 12:38:56 2017
@@ -194,7 +194,6 @@ LPVOID  AplCopyMemory(PVOID Destination,
  * dwSize:  The length of lpMem
  */
 LPBYTE  ApcMemSearch(LPCVOID lpMem, LPCVOID lpFind, SIZE_T dwLen, SIZE_T dwSize);
-LPSTR   AplRindexA(LPCSTR lpStr, int ch);
 
 #define AplMoveMemory   AplCopyMemory
 

Modified: commons/proper/daemon/trunk/src/native/windows/src/mclib.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/src/mclib.c?rev=1814170&r1=1814169&r2=1814170&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/src/mclib.c (original)
+++ commons/proper/daemon/trunk/src/native/windows/src/mclib.c Fri Nov  3 12:38:56 2017
@@ -279,20 +279,6 @@ ApcMemSearch(LPCVOID lpMem, LPCVOID lpFi
     return (LPBYTE)s;
 }
 
-LPSTR
-AplRindexA(LPCSTR lpStr, int ch)
-{
-    LPSTR save;
-
-    for (save = NULL;; ++lpStr) {
-        if (*lpStr == ch)
-            save = (LPSTR)lpStr;
-        if (!*lpStr)
-            return save;
-    }
-    /* NOTREACHED */
-}
-
 /*
  * Appends src to string dst of size siz (unlike strncat, siz is the
  * full size of dst, not space left).  At most siz-1 characters



Mime
View raw message