Skip to content

Commit

Permalink
Merge pull request #64 from robert-scheck/fno-common
Browse files Browse the repository at this point in the history
Declare pthread_attr as extern in header (fixes #63)
  • Loading branch information
Fabian Mauchle authored and GitHub committed Jul 22, 2020
2 parents af18128 + 0098fbc commit fd1d640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions radsecproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ extern int optind;
extern char *optarg;
#endif
static const struct protodefs *protodefs[RAD_PROTOCOUNT];
pthread_attr_t pthread_attr;

/* minimum required declarations to avoid reordering code */
struct realm *adddynamicrealmserver(struct realm *realm, char *id);
Expand Down
2 changes: 1 addition & 1 deletion radsecproxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ int radsrv(struct request *rq);
void replyh(struct server *server, unsigned char *buf);
struct addrinfo *resolve_hostport_addrinfo(uint8_t type, char *hostport);
uint8_t *radattr2ascii(struct tlv *attr); /* TODO: mv this to radmsg? */
pthread_attr_t pthread_attr;
extern pthread_attr_t pthread_attr;

/* Local Variables: */
/* c-file-style: "stroustrup" */
Expand Down

0 comments on commit fd1d640

Please sign in to comment.