patch-spdrs60_srcpmessage_h 794 B

1234567891011121314151617181920
  1. $OpenBSD: patch-spdrs60_srcpmessage_h,v 1.1 2017/05/25 00:14:40 espie Exp $
  2. Index: spdrs60/srcpmessage.h
  3. --- spdrs60/srcpmessage.h.orig
  4. +++ spdrs60/srcpmessage.h
  5. @@ -251,9 +251,10 @@ class GlMessage: public SrcpMessage
  6. };
  7. /* mtGlInit */
  8. - GlMessage(Type type, unsigned int abus, unsigned int addr,
  9. - Protocol prot, unsigned int pv, unsigned int maxvs,
  10. - unsigned int fc);
  11. + GlMessage(Type type = mtGlInit, unsigned int abus = 1,
  12. + unsigned int addr = 1, Protocol prot = proDCC,
  13. + unsigned int pv = 1, unsigned int maxvs = 14,
  14. + unsigned int fc = 1);
  15. /* mtGlSet (all funtions)*/
  16. GlMessage(Type type, unsigned int abus,
  17. unsigned int addr, unsigned int fc, unsigned int dm,