From: bernie Date: Thu, 18 May 2006 00:39:13 +0000 (+0000) Subject: Add struct Serial friendly typedef. X-Git-Tag: 1.0.0~630 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=886c088b7a4eff33f67ef278739567e7f331fe5b;hp=8d0d38ea04a80d9fd20c32bc6e1b81e51ac87d14;p=bertos.git Add struct Serial friendly typedef. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@611 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/drv/ser.h b/drv/ser.h index c06493db..a315562a 100755 --- a/drv/ser.h +++ b/drv/ser.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.26 2006/05/18 00:39:13 bernie + *#* Add struct Serial friendly typedef. + *#* *#* Revision 1.25 2006/02/17 22:28:00 bernie *#* Rename ser_emul.c to ser_posix.c. *#* @@ -211,7 +214,7 @@ struct SerialHardware; extern const char * const serial_errors[8]; /*! Serial handle structure */ -struct Serial +typedef struct Serial { /*! Physical port number */ unsigned int unit; @@ -243,7 +246,7 @@ struct Serial /*! Low-level interface to hardware. */ struct SerialHardware* hw; -}; +} Serial; /* Function prototypes */