Skip to content

Commit

Permalink
* src/ne_request.h: Remove never-used ne_free_hooks typedef.
Browse files Browse the repository at this point in the history
  • Loading branch information
notroj committed Nov 12, 2023
1 parent bc41917 commit d85b401
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changes in release 0.33.0:
support for RFC 4918 "lockroot" in lock discovery
- ne_request.h: ne_request_create() takes a "target" rather
than a path and this can also be an absolute-URI
- ne_request.h: never-used ne_free_hooks typedef removed
* New interfaces and features:
- added new configure flag --enable-auto-libproxy which enables
libproxy by default for new sessions (Jan-Michael Brummer)
Expand Down
2 changes: 0 additions & 2 deletions src/ne_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,6 @@ void ne_add_interim_handler(ne_request *req, ne_interim_response_fn fn,

/**** Request hooks handling *****/

typedef void (*ne_free_hooks)(void *cookie);

/* Hook called when a request is created; passed the method and
* request-target as used in the request-line (RFC7230§5.3). The
* create_request hook is called exactly once per request. */
Expand Down

0 comments on commit d85b401

Please sign in to comment.