Skip to content

Commit

Permalink
lib: zebra.h is not using signal.h
Browse files Browse the repository at this point in the history
Signed-off-by: Donald Sharp <[email protected]>
  • Loading branch information
donaldsharp authored and Donald Sharp committed Jan 6, 2024
1 parent f042537 commit 076db17
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions ldpd/ldpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <zebra.h>

#include <signal.h>
#include <fcntl.h>
#include <sys/wait.h>

Expand Down
2 changes: 2 additions & 0 deletions lib/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
/* #define DEBUG */

#include <zebra.h>

#include <signal.h>
#include <sys/resource.h>

#include "frrevent.h"
Expand Down
3 changes: 3 additions & 0 deletions lib/frr_pthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*/

#include <zebra.h>

#include <signal.h>

#include <pthread.h>
#ifdef HAVE_PTHREAD_NP_H
#include <pthread_np.h>
Expand Down
2 changes: 2 additions & 0 deletions lib/libfrr.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/

#include <zebra.h>

#include <signal.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <fcntl.h>
Expand Down
2 changes: 2 additions & 0 deletions lib/sigevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*/

#include <zebra.h>

#include <signal.h>
#include <sigevent.h>
#include <log.h>
#include <memory.h>
Expand Down
1 change: 0 additions & 1 deletion lib/zebra.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <stddef.h>
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <string.h>
#ifdef HAVE_STROPTS_H
#include <stropts.h>
Expand Down
1 change: 1 addition & 0 deletions vtysh/vtysh_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <zebra.h>

#include <signal.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <setjmp.h>
Expand Down
2 changes: 2 additions & 0 deletions watchfrr/watchfrr.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/

#include <zebra.h>

#include <signal.h>
#include <sys/stat.h>
#include <fcntl.h>

Expand Down
2 changes: 2 additions & 0 deletions watchfrr/watchfrr_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/

#include <zebra.h>

#include <signal.h>
#include <sys/wait.h>

#include "memory.h"
Expand Down

0 comments on commit 076db17

Please sign in to comment.