- Notifications
You must be signed in to change notification settings - Fork5
Commit164ef6f
committed
Fixes:
Originally, I thought the problem was caused by a function that getscalled as a normal function where we want to return a value, and as asignal handler where we need to have it accept a parameter (the signalnumber) and it returns nothing, I was going to case the function name inthe signal call as (void (*)(int)).Looking at all the source, it turns out this function only gets used asa signal handler, so I set an int parameter and return void.I have removed the Linux defines because they are not needed. BSD letthis sloppiness slide. Linux gave a compile error.Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>1 parent4d837e3 commit164ef6f
2 files changed
+9
-23
lines changedLines changed: 7 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 | 98 |
| |
104 | 99 |
| |
105 | 100 |
| |
| |||
628 | 623 |
| |
629 | 624 |
| |
630 | 625 |
| |
631 |
| - | |
632 |
| - | |
633 |
| - | |
634 |
| - | |
635 |
| - | |
636 |
| - | |
637 |
| - | |
| 626 | + | |
| 627 | + | |
638 | 628 |
| |
639 | 629 |
| |
640 | 630 |
| |
| |||
654 | 644 |
| |
655 | 645 |
| |
656 | 646 |
| |
657 |
| - | |
| 647 | + | |
658 | 648 |
| |
659 | 649 |
| |
660 | 650 |
| |
| |||
671 | 661 |
| |
672 | 662 |
| |
673 | 663 |
| |
674 |
| - | |
| 664 | + | |
675 | 665 |
| |
676 | 666 |
| |
677 | 667 |
| |
| |||
708 | 698 |
| |
709 | 699 |
| |
710 | 700 |
| |
711 |
| - | |
| 701 | + | |
712 | 702 |
| |
713 | 703 |
| |
714 | 704 |
| |
|
Lines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
| 119 | + | |
124 | 120 |
| |
125 | 121 |
| |
126 | 122 |
| |
|
0 commit comments
Comments
(0)