Skip to content

Commit

Permalink
Remove some hacks from libcurl sample
Browse files Browse the repository at this point in the history
  • Loading branch information
SvyatoslavScherbina committed Apr 3, 2017
1 parent 1c2af73 commit d07295d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions samples/libcurl/callbacks.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#include <stdio.h>
#include <stddef.h>

// Those types are needed but not defined or used in libcurl headers.
typedef size_t header_callback(char *buffer, size_t size, size_t nitems, void *userdata);
typedef size_t write_data_callback(void *buffer, size_t size, size_t nmemb, void *userp);

extern void something_using_callback1(header_callback*);
extern void something_using_callback2(write_data_callback*);

0 comments on commit d07295d

Please sign in to comment.