summaryrefslogtreecommitdiffstats
path: root/serial/manager.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-01-28 10:38:40 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-01-28 10:38:40 +0000
commitba255beb79afb9c00ae5b71821f84f911aa8d1fe (patch)
tree66707895eb4596df0e8054052f95f07560927e2f /serial/manager.c
parentd352bd04383f1c1a5ec17e267cb8d0ce70720519 (diff)
Whitespace cleanup
Diffstat (limited to 'serial/manager.c')
-rw-r--r--serial/manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/serial/manager.c b/serial/manager.c
index b33e30ac..2bbb5999 100644
--- a/serial/manager.c
+++ b/serial/manager.c
@@ -64,7 +64,7 @@
#define BUF_SIZE 1024
/* Waiting for udev to create the device node */
-#define MAX_OPEN_TRIES 5
+#define MAX_OPEN_TRIES 5
#define OPEN_WAIT 300 /* ms */
struct pending_connect {
@@ -80,7 +80,7 @@ struct pending_connect {
char *dev; /* tty device name */
int id; /* RFCOMM device id */
int ntries; /* Open attempts */
- int canceled; /* Operation canceled */
+ int canceled; /* Operation canceled */
};
/* FIXME: Common file required */
@@ -1646,7 +1646,7 @@ static DBusHandlerResult proxy_set_serial_params(DBusConnection *conn,
struct proxy *prx = data;
const char *ratestr, *paritystr;
uint8_t databits, stopbits;
- tcflag_t ctrl; /* Control mode flags */
+ tcflag_t ctrl; /* Control mode flags */
speed_t speed = B0; /* In/Out speed */
/* Don't allow change TTY settings if it is open */
@@ -1691,7 +1691,7 @@ static DBusMethodVTable proxy_methods[] = {
{ "Enable", proxy_enable, "", "" },
{ "Disable", proxy_disable, "", "" },
{ "GetInfo", proxy_get_info, "", "a{sv}" },
- { "SetSerialParameters", proxy_set_serial_params, "syys", "" },
+ { "SetSerialParameters", proxy_set_serial_params, "syys", "" },
{ NULL, NULL, NULL, NULL },
};