-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comms/linrad: Update to work with newer base compiler
Latest compiler is pickier about functions without prototypes remove unused variable
- Loading branch information
Diane Bruce
authored and
Diane Bruce
committed
Feb 22, 2023
1 parent
b7ff149
commit 370297f
Showing
8 changed files
with
73 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- afcsub.c.orig 2023-02-21 23:02:52 UTC | ||
+++ afcsub.c | ||
@@ -692,7 +692,7 @@ int make_afc_signoi(void) | ||
|
||
int make_afc_signoi(void) | ||
{ | ||
-int i, k, np,j; | ||
+int i, k, np; | ||
float t1,t2; | ||
// Estimate S/N for the signal we see in mix1_eval data. | ||
// Last time we used ag.fit_points blocks of eval data to evaluate | ||
@@ -765,10 +765,8 @@ i=np; | ||
if(t2 > 0.25*t1)t2=0.25*t1; | ||
k=0; | ||
i=np; | ||
-j=0; | ||
while(i != fftx_na) | ||
{ | ||
- j++; | ||
if(mix1_eval_avgn[mix1p0+i]>0) | ||
{ | ||
if(mix1_eval_sigpwr[mix1p0+i]>t2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- eme.c.orig 2023-02-21 23:04:27 UTC | ||
+++ eme.c | ||
@@ -1543,7 +1543,7 @@ return (x-(int)(x))*2*PI_L; | ||
} | ||
|
||
|
||
-void calculate_moon_data() | ||
+void calculate_moon_data(void) | ||
{ | ||
char s[80]; | ||
int k, day; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- wide_graph.c.orig 2023-02-21 22:04:43 UTC | ||
+++ wide_graph.c | ||
@@ -1591,7 +1591,7 @@ wg.ybottom=(int)(0.35F*(float)screen_height); | ||
} | ||
|
||
|
||
-void init_wide_graph() | ||
+void init_wide_graph(void) | ||
{ | ||
if (read_modepar_file(GRAPHTYPE_WG) == 0) | ||
{ |