diff options
author | Linus Nordberg <linus@nordu.net> | 2011-09-27 10:11:35 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-09-27 10:11:35 +0200 |
commit | bab2a00def115132cf3bb14d4e8826c5c2460b60 (patch) | |
tree | de59f37aeda922816d9fd0a536153d7f94cba555 /radsecproxy.c | |
parent | 021300fb41cbdc1280c73e61cbe1c7f861e1dd9c (diff) |
Prepare for building tests.
Move main() out of radsecproxy.c.
Build a static library and link a main.c with it.
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 93cd4a2..e459cae 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3195,7 +3195,7 @@ int createpidfile(const char *pidfile) { return f && !fclose(f) && r >= 0; } -int main(int argc, char **argv) { +int radsecproxy_main(int argc, char **argv) { pthread_t sigth; sigset_t sigset; struct list_node *entry; |