Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for improved C99 compatibility #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions usb_replay.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <string.h>
#include <math.h>
#include <assert.h>
#include <unistd.h>
#include <libusb.h>
#include "common.h"
#include "usb_replay.h"
Expand Down
4 changes: 4 additions & 0 deletions usb_replay.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ typedef struct urb_s {
uint16_t wLength;
} urb_t;

void usb_init(unsigned int vid, unsigned int pid);
void perform_transfer(urb_t *urb);
void print_help_and_exit(char **argv);

#endif
1 change: 1 addition & 0 deletions usb_replay.y
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "usb_replay.h"
#include "error.h"
int yylex(void);
Expand Down