kopia lustrzana https://github.com/Hamlib/Hamlib
Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.hpull/1091/head
rodzic
4627e7c4fb
commit
4dfe46edbb
|
@ -33,7 +33,6 @@
|
|||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// HAMLIB INCLUDES
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
|
||||
#include "hamlib/rig.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20220113"
|
||||
|
||||
#define EOM "\x0d"
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
|
||||
#include "hamlib/rig.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20211228"
|
||||
|
||||
#define EOM "\x0d"
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#include <string.h> /* String function definitions */
|
||||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <math.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "hamlib/amplifier.h"
|
||||
#include "serial.h"
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
|
||||
#include "hamlib/rig.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define EOM "\r"
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <string.h> /* String function definitions */
|
||||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "hamlib/rig.h"
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
|
||||
#include "hamlib/rig.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20210613"
|
||||
|
||||
#define EOM "\r"
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "hamlib/rig.h"
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
#include "cal.h"
|
||||
#include "tones.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
struct icm710_priv_caps {
|
||||
unsigned char default_remote_id; /* the remote default equipment's ID */
|
||||
};
|
||||
|
|
|
@ -26,10 +26,6 @@
|
|||
#include "cal.h"
|
||||
#include "tones.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20181007"
|
||||
|
||||
struct icmarine_priv_caps {
|
||||
|
|
|
@ -72,8 +72,6 @@
|
|||
#include <ctype.h>
|
||||
#include <string.h> /* String function definitions */
|
||||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
#include <string.h> /* String function definitions */
|
||||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <math.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <hamlib/rotator.h>
|
||||
#include "serial.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <math.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <hamlib/rotator.h>
|
||||
#include <num_stdio.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <math.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <hamlib/rotator.h>
|
||||
#include "serial.h"
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <fcntl.h> /* File control definitions */
|
||||
#include <errno.h> /* Error number definitions */
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include <errno.h> /* Error number definitions */
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef ANDROID
|
||||
# include <android/log.h>
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <fcntl.h> /* File control definitions */
|
||||
#include <errno.h> /* Error number definitions */
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include <pthread.h>
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <fcntl.h> /* File control definitions */
|
||||
#include <errno.h> /* Error number definitions */
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <fcntl.h> /* File control definitions */
|
||||
#include <errno.h> /* Error number definitions */
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
*/
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
#include <pthread.h>
|
||||
#include "config.h"
|
||||
#include "sleep.h"
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
*/
|
||||
#include <hamlibdatetime.h>
|
||||
|
||||
#include <hamlib/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
*/
|
||||
#include <hamlibdatetime.h>
|
||||
|
||||
#include <hamlib/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#endif
|
||||
|
||||
#include <hamlib/rig.h>
|
||||
#include <hamlibdatetime.h>
|
||||
#include "misc.h"
|
||||
#include "iofunc.h"
|
||||
#include "serial.h"
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
*/
|
||||
#include <hamlibdatetime.h>
|
||||
|
||||
#include <hamlib/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
Ładowanie…
Reference in New Issue