]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
wildcard: strip "curl_" prefix from private symbols
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 10:39:42 +0000 (12:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 20:41:59 +0000 (22:41 +0200)
Closes #5906

lib/wildcard.h

index b0de784ad8454d892e66476629824dd1fd87b6d6..f090826fb2107c8991902f9ea7481ce958432e4f 100644 (file)
@@ -39,18 +39,18 @@ typedef enum {
   CURLWC_ERROR, /* error cases */
   CURLWC_DONE   /* if is wildcard->state == CURLWC_DONE wildcard loop
                    will end */
-} curl_wildcard_states;
+} wildcard_states;
 
-typedef void (*curl_wildcard_dtor)(void *ptr);
+typedef void (*wildcard_dtor)(void *ptr);
 
 /* struct keeping information about wildcard download process */
 struct WildcardData {
-  curl_wildcard_states state;
+  wildcard_states state;
   char *path; /* path to the directory, where we trying wildcard-match */
   char *pattern; /* wildcard pattern */
   struct Curl_llist filelist; /* llist with struct Curl_fileinfo */
   void *protdata; /* pointer to protocol specific temporary data */
-  curl_wildcard_dtor dtor;
+  wildcard_dtor dtor;
   void *customptr;  /* for CURLOPT_CHUNK_DATA pointer */
 };