diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2006-03-16 19:28:48 +0300 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2006-03-16 19:28:48 +0300 |
commit | ea7839e95f4d24c11c45bd6f8992a01b87bca205 (patch) | |
tree | 3231bb493b518caf739b4eaaf58b114de2650462 /support | |
parent | b2b133e67c6f823bbefb0f8a1fe020dfe0840a6b (diff) |
Thu Mar 16 17:27:46 CET 2006 Paolo Molaro <lupus@ximian.com>
* serial.c: removed useless serial.h file (it was also
breaking the build).
svn path=/trunk/mono/; revision=58067
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 6 | ||||
-rw-r--r-- | support/serial.c | 25 | ||||
-rw-r--r-- | support/serial.h | 31 |
3 files changed, 30 insertions, 32 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index b2e2fb6f95a..7587977faca 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,9 @@ + +Thu Mar 16 17:27:46 CET 2006 Paolo Molaro <lupus@ximian.com> + + * serial.c: removed useless serial.h file (it was also + breaking the build). + 2006-03-09 Carlos Alberto Cortez <calberto.cortez@gmail.com> * serial.c: Fix a pair of wrong or incomplete assignations diff --git a/support/serial.c b/support/serial.c index bd2fbd57e59..4a363370254 100644 --- a/support/serial.c +++ b/support/serial.c @@ -13,7 +13,30 @@ #include <glib.h> -#include "serial.h" +/* This is a copy of System.IO.Ports.Handshake */ +typedef enum { + NoneHandshake = 0, + XOnXOff = 1, + RequestToSend = 2, + RequestToSendXOnXOff = 3 +} MonoHandshake; + +/* This is a copy of System.IO.Ports.Parity */ +typedef enum { + NoneParity = 0, + Odd = 1, + Even = 2, + Mark = 3, + Space = 4 +} MonoParity; + +/* This is a copy of System.IO.Ports.StopBits */ +typedef enum { + NoneStopBits = 0, + One = 1, + Two = 2, + OnePointFive = 3 +} MonoStopBits; int open_serial (char* devfile) diff --git a/support/serial.h b/support/serial.h deleted file mode 100644 index 8c3221ebab1..00000000000 --- a/support/serial.h +++ /dev/null @@ -1,31 +0,0 @@ - -#ifndef __SERIAL_H -#define __SERIAL_H - -/* This is a copy of System.IO.Ports.Handshake */ -typedef enum { - NoneHandshake = 0, - XOnXOff = 1, - RequestToSend = 2, - RequestToSendXOnXOff = 3 -} MonoHandshake; - -/* This is a copy of System.IO.Ports.Parity */ -typedef enum { - NoneParity = 0, - Odd = 1, - Even = 2, - Mark = 3, - Space = 4 -} MonoParity; - -/* This is a copy of System.IO.Ports.StopBits */ -typedef enum { - NoneStopBits = 0, - One = 1, - Two = 2, - OnePointFive = 3 -} MonoStopBits; - -#endif - |