Mike Black W9MDB
b55a46a0f6
Fix mingw compile warnings
2023-05-07 17:27:31 -05:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX
4dfe46edbb
Remove unused includes related to times and dates
...
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Michael Black
f1f0d7f129
Fix some of the documentation
2020-04-09 17:56:19 -05:00
Michael Black
8eb09c2a38
More cppcheck fixes
2020-03-23 07:52:01 -05:00
Michael Black
9de3984af9
Fix cppcheck warning in parallel.c
2020-01-15 22:40:23 -06:00
Michael Black
e50f552e0f
Fix mingw32 build
2020-01-15 15:57:01 -06:00
Michael Black
be79b195b4
Fix cppcheck warning in parallel.c
2020-01-12 22:36:10 -06:00
Michael Black
d7e9bfd35c
Fix mingw warning on parallel.c
2019-12-30 22:24:19 -06:00
Michael Black
1715bcf422
Fix compilation error on parallel.c
2019-12-19 09:55:57 -06:00
Michael Black
c71bb35ab1
Fix cppcheck warnings in parallel.c
2019-12-19 08:47:40 -06:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
...
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
03b39da00b
Fix cppcheck warnings in parallel.c
2019-12-08 22:35:50 -06:00
Michael Black
9aa920a873
Fix cppcheck warnings in parallel.c
2019-12-08 22:35:33 -06:00
Michael Black
09aecd5ce9
Fix uninitialize waqrning in parallel.c
2019-12-06 10:20:38 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black
37f87c9b62
astyle parallel.c
2019-05-21 12:45:09 -05:00
Michael Black
151a7059c5
Fix compile warnings in parallel.c
2019-05-21 12:42:39 -05:00
Nate Bargmann
ab3e6bb5a5
Formatted src/ to final coding guidelines
2017-10-04 21:32:08 -05:00
Nate Bargmann
f76b354588
Reformatted src directory
2017-08-09 06:14:31 -05:00
Nate Bargmann
0db862e560
Apply Linux C Style to parallel.c
2016-02-21 15:06:16 -06:00
Nate Bargmann
07353e1f80
Fix compiler warnings with x86_64-w64-mingw32-gcc
...
Compiling for Windows 64 resulted in several warnings. Correct them by
using proper Windows function calls rather than casts.
2016-02-20 11:44:19 -06:00
Michael Black
61a0e77110
Fix port->pathname checks
...
Was always true since it's statically allocated
RRR
Mike W9MDB
2016-02-09 10:59:09 -06:00
Nate Bargmann
245ab86441
Quell compiler warnings on Cygwin
...
Quell mostly harmless warnings from the older GCC installed in Cygwin.
Produces a quiet compilation.
2013-05-09 22:06:39 -05:00
Nate Bargmann
dad27d1f69
Update LGPL header in src source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stéphane Fillod, F8CFE
b32720c6fb
fix return codes for WIN32
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2922 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-26 19:08:11 +00:00
Stéphane Fillod, F8CFE
46289ed58e
convert parallel ptt to cwdaemon interface(STROBE+INIT)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2747 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-01 18:48:27 +00:00
Martin Ewing, AA6E
f6ddc3edad
documentation
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00
Stéphane Fillod, F8CFE
9a2e5d1eb3
Patch is courtesy Petr Salinger, fixing compilation on the GNU/kFreeBSD
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2043 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-10-27 20:34:16 +00:00
Stéphane Fillod, F8CFE
20f5e6fc3c
tab reformat
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1989 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 18:31:00 +00:00
Stéphane Fillod, F8CFE
9fae198566
renamed port_t as hamlib_port_t
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1957 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 12:27:17 +00:00
Stéphane Fillod, F8CFE
af21fced51
initial parallel port support for *BSD
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1924 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-02-20 02:38:29 +00:00
Stéphane Fillod, F8CFE
3e43344263
Split parallel port primitives in separate file from serial
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1862 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 20:37:24 +00:00