X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fser.h;h=a315562ab01a02fe30c600dd0fedbcf5f6ca3828;hb=6ca5e6259460b1541d1b6e6d3f1ac9734901f573;hp=c06493dbb5e94ad3e20c4f315c8aa538f6693cf6;hpb=c3c1136c1705a700f3f8ac8b67d8024c6e4d507d;p=bertos.git 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 */