patch-kernel_sig_info_cc 727 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-kernel_sig_info_cc,v 1.1 2017/06/03 14:25:16 espie Exp $
  2. don't predeclare std before we have anything to put in there
  3. Index: kernel/sig_info.cc
  4. --- kernel/sig_info.cc.orig
  5. +++ kernel/sig_info.cc
  6. @@ -1,6 +1,5 @@
  7. #define KERNEL // Include internal kernel definitions
  8. -using namespace std;
  9. #include <freehdl/kernel-error.hh>
  10. #include <freehdl/kernel-db.hh>
  11. #include <freehdl/kernel-sig-info.hh>
  12. @@ -10,6 +9,7 @@ using namespace std;
  13. #include <freehdl/kernel-register.hh>
  14. #include <freehdl/kernel-signal-source-list-array.hh>
  15. #include <freehdl/kernel-map-list.hh>
  16. +using namespace std;
  17. // signal_table is a hash tables (map) to associate signal names with
  18. // the corresponding sig_info_base pointers.