Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2006-03-16 19:28:48 +0300
committerPaolo Molaro <lupus@oddwiz.org>2006-03-16 19:28:48 +0300
commitea7839e95f4d24c11c45bd6f8992a01b87bca205 (patch)
tree3231bb493b518caf739b4eaaf58b114de2650462 /support
parentb2b133e67c6f823bbefb0f8a1fe020dfe0840a6b (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/ChangeLog6
-rw-r--r--support/serial.c25
-rw-r--r--support/serial.h31
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
-