cfr34k-overlay/net-wireless/dxlAPRS/files/0001-remove-stime.patch
Thomas Kolb aee9d4a885 Lots of changes on webrx host accumulated over time
- Adds ebuilds for amateur radio digital signal processing
- Removes some very outdated ebuilds
- Updates some others to newer EAPIs
2023-09-16 21:08:18 +00:00

37 lines
1 KiB
Diff

diff --git a/src/gps2aprs.c b/src/gps2aprs.c
index eade4a6..ebcd089 100644
--- a/src/gps2aprs.c
+++ b/src/gps2aprs.c
@@ -207,7 +207,7 @@ static int32_t tty;
static struct termios saved;
-extern int32_t stime(uint32_t *);
+//extern int32_t stime(uint32_t *);
/* set system time, needs root */
@@ -640,8 +640,8 @@ static void settime(const struct POS p)
osi_WrStr("time to sys:", 13ul);
osi_WrStrLn(s, 21ul);
}
- if (stime(&sec)>=0L) osi_WrStrLn("system time set", 16ul);
- else osi_WrStrLn("--- error setting system time (will need root)", 47ul);
+ /*if (stime(&sec)>=0L) osi_WrStrLn("system time set", 16ul);
+ else osi_WrStrLn("--- error setting system time (will need root)", 47ul);*/
if (terminatetimeset) X2C_ABORT();
timesetdone = 1;
}
diff --git a/src/osic.c b/src/osic.c
index c615b92..ca7defa 100644
--- a/src/osic.c
+++ b/src/osic.c
@@ -596,6 +596,6 @@ void *osic_chkptr(void *p)
int32_t osic_setsystime(uint32_t * time0)
{
- return stime(time0);
+ return 0; //stime(time0);
}