Skip to content

Commit

Permalink
Local typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 20, 2024
1 parent 7abd79f commit cff0e9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/signal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class ScopedInterruptHandler {

// oldhandler stores the old signal handler
// so that it can be restored when the object is destroyed
typedef void (*sig_t)(int);
sig_t oldhandler;

static ScopedInterruptHandler *instance;
Expand Down

0 comments on commit cff0e9f

Please sign in to comment.