You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2017/11/03 12:38:57 UTC

svn commit: r1814170 - in /commons/proper/daemon/trunk/src/native/windows: include/apxwin.h src/mclib.c

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