forked from mirrors/tftp-hpa-google
Reformat the source code
The source code was a mix of different styles; normalize on NASM style; basically K&R style with 4 space indentation.
This commit is contained in:
parent
62533e7441
commit
22accddda0
18 changed files with 2794 additions and 2820 deletions
|
@ -50,18 +50,19 @@
|
|||
struct tftphdr;
|
||||
|
||||
struct tftphdr *r_init(void);
|
||||
void read_ahead(FILE *, int);
|
||||
int readit(FILE *, struct tftphdr **, int);
|
||||
void read_ahead(FILE *, int);
|
||||
int readit(FILE *, struct tftphdr **, int);
|
||||
|
||||
int synchnet(int);
|
||||
int synchnet(int);
|
||||
|
||||
struct tftphdr *w_init(void);
|
||||
int write_behind(FILE *, int);
|
||||
int writeit(FILE *, struct tftphdr **, int, int);
|
||||
int write_behind(FILE *, int);
|
||||
int writeit(FILE *, struct tftphdr **, int, int);
|
||||
|
||||
extern int segsize;
|
||||
#define MAX_SEGSIZE 65464
|
||||
|
||||
int pick_port_bind(int sockfd, struct sockaddr_in *myaddr, unsigned int from, unsigned int to);
|
||||
int pick_port_bind(int sockfd, struct sockaddr_in *myaddr,
|
||||
unsigned int from, unsigned int to);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue