X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Funixserial.h;fp=include%2Fdevices%2Funixserial.h;h=1d098bd60b16a21b0db7855a9131364b5da67218;hp=15253ef32015d5bcbc01771cf480e2b2cdca0de2;hb=3ffd063073b4fe33d61c74b767c93833dc5bd8e5;hpb=7fe9e12e4451190f8ca2543a98de9abd4f9b8958 diff --git a/include/devices/unixserial.h b/include/devices/unixserial.h index 15253ef..1d098bd 100644 --- a/include/devices/unixserial.h +++ b/include/devices/unixserial.h @@ -11,8 +11,11 @@ Released under the terms of the GNU GPL, see file COPYING for more details. $Log$ - Revision 1.1.1.1 2001/11/25 21:59:21 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001 + Revision 1.1.1.2 2001/11/27 22:01:28 short + :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 + + Revision 1.3 2001/11/27 12:19:01 pkot + Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me) Revision 1.2 2001/08/20 23:27:37 pkot Add hardware shakehand to the link layer (Manfred Jonsson) @@ -20,19 +23,18 @@ Revision 1.1 2001/02/21 19:57:12 chris More fiddling with the directory layout - */ #ifndef __devices_unixserial_h #define __devices_unixserial_h #ifdef WIN32 - #include +# include /* FIXME: this should be solved in config.h in 0.4.0 */ - #define __const const - typedef void * __ptr_t; +# define __const const + typedef void * __ptr_t; #else - #include +# include #endif /* WIN32 */ #include "misc.h" @@ -51,7 +53,3 @@ size_t serial_write(int __fd, __const __ptr_t __buf, size_t __n); int serial_select(int fd, struct timeval *timeout); #endif /* __devices_unixserial_h */ - - - -