summaryrefslogtreecommitdiffstats
path: root/modem-probe/modem-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'modem-probe/modem-probe.c')
-rw-r--r--modem-probe/modem-probe.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/modem-probe/modem-probe.c b/modem-probe/modem-probe.c
index ddeb413..66fec96 100644
--- a/modem-probe/modem-probe.c
+++ b/modem-probe/modem-probe.c
@@ -14,10 +14,6 @@
* GNU General Public License for more details:
*/
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1
-#endif
-
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
@@ -37,7 +33,7 @@
#define MODEM_CAP_ES 0x0010 /* Error control selection (v.42) */
#define MODEM_CAP_FCLASS 0x0020 /* Group III Fax */
#define MODEM_CAP_MS 0x0040 /* Modulation selection */
-#define MODEM_CAP_W 0x0080 /* Wireless commands */
+#define MODEM_CAP_W 0x0080 /* Wireless commands */
#define MODEM_CAP_IS856 0x0100 /* CDMA 3G EVDO rev 0 */
#define MODEM_CAP_IS856_A 0x0200 /* CDMA 3G EVDO rev A */
@@ -468,7 +464,7 @@ main(int argc, char *argv[])
attrs.c_cflag &= ~(CBAUD | CSIZE | CSTOPB | CLOCAL | PARENB);
attrs.c_cflag |= (B9600 | CS8 | CREAD | PARENB);
-
+
tcsetattr (fd, TCSANOW, &attrs);
caps = modem_probe_caps (fd);
tcsetattr (fd, TCSANOW, &orig);
@@ -502,4 +498,3 @@ main(int argc, char *argv[])
do_exit (0);
return 0;
}
-