]> granicus.if.org Git - libevent/commitdiff
http: drop unused internal macros
authorAzat Khuzhin <azat@libevent.org>
Wed, 3 Apr 2019 20:20:06 +0000 (23:20 +0300)
committerAzat Khuzhin <azat@libevent.org>
Wed, 3 Apr 2019 20:21:24 +0000 (23:21 +0300)
http-internal.h

index fb39a65050e11f04d13c4134aefb897b84f11381..1ae06b6a6a7e3916faf8eace1224912b1b9a4d6e 100644 (file)
@@ -19,9 +19,6 @@
 #define HTTP_READ_TIMEOUT      50
 #define HTTP_INITIAL_RETRY_TIMEOUT     2
 
-#define HTTP_PREFIX            "http://"
-#define HTTP_DEFAULTPORT       80
-
 enum message_read_status {
        ALL_DATA_READ = 1,
        MORE_DATA_EXPECTED = 0,
@@ -215,4 +212,4 @@ EVENT2_EXPORT_SYMBOL
 int evhttp_decode_uri_internal(const char *uri, size_t length,
     char *ret, int decode_plus);
 
-#endif /* _HTTP_H */
+#endif /* HTTP_INTERNAL_H_INCLUDED_ */