]> git.pld-linux.org Git - packages/atftp.git/blob - no-inline.patch
- updated to 0.8.0; added patch to remove unnecessary -lnsl
[packages/atftp.git] / no-inline.patch
1 --- atftp-0.7.1/argz.h~ 2011-03-11 07:51:24.000000000 +0100
2 +++ atftp-0.7.1/argz.h  2016-10-18 19:25:56.408888344 +0200
3 @@ -177,7 +177,7 @@
4  extern char *argz_next (__const char *__restrict __argz, size_t __argz_len,
5                         __const char *__restrict __entry) __THROW;
6  
7 -#ifdef __USE_EXTERN_INLINES
8 +#if 0
9  extern inline char *
10  __argz_next (__const char *__argz, size_t __argz_len,
11              __const char *__entry)
12 --- atftp-0.7.1/tftpd.h~        2011-03-11 07:51:24.000000000 +0100
13 +++ atftp-0.7.1/tftpd.h 2016-10-18 19:27:33.845636877 +0200
14 @@ -93,7 +93,7 @@
15  /*
16   * Defined in tftpd_list.c, operation on client structure list.
17   */
18 -inline void tftpd_clientlist_ready(struct thread_data *thread);
19 +void tftpd_clientlist_ready(struct thread_data *thread);
20  void tftpd_clientlist_remove(struct thread_data *thread,
21                               struct client_info *client);
22  void tftpd_clientlist_free(struct thread_data *thread);
23 --- atftp-0.7.1/tftp_def.h~     2011-03-24 09:24:18.000000000 +0100
24 +++ atftp-0.7.1/tftp_def.h      2016-10-18 19:26:51.552296429 +0200
25 @@ -50,7 +50,7 @@
26  
27  int timeval_diff(struct timeval *res, struct timeval *t1, struct timeval *t0);
28  int print_eng(double value, char *string, int size, char *format);
29 -inline char *Strncpy(char *to, const char *from, size_t size);
30 +char *Strncpy(char *to, const char *from, size_t size);
31  int Gethostbyname(char *addr, struct hostent *host);
32  
33  char *sockaddr_print_addr(const struct sockaddr_storage *, char *, size_t);
This page took 0.136486 seconds and 3 git commands to generate.