patch-inc_gsm_h 611 B

12345678910111213141516171819202122232425
  1. $Id$
  2. --- gsm-1.0-pl10.orig/inc/gsm.h Fri Jul 5 20:31:51 1996
  3. +++ gsm-1.0-pl10/inc/gsm.h Sat Jan 20 13:06:50 2007
  4. @@ -54,6 +54,10 @@ typedef gsm_byte gsm_frame[33]; /* 33
  5. #define GSM_OPT_FRAME_INDEX 5
  6. #define GSM_OPT_FRAME_CHAIN 6
  7. +#ifdef __cplusplus
  8. +extern "C" {
  9. +#endif
  10. +
  11. extern gsm gsm_create GSM_P((void));
  12. extern void gsm_destroy GSM_P((gsm));
  13. @@ -65,6 +69,10 @@ extern int gsm_decode GSM_P((gsm, gsm_
  14. extern int gsm_explode GSM_P((gsm, gsm_byte *, gsm_signal *));
  15. extern void gsm_implode GSM_P((gsm, gsm_signal *, gsm_byte *));
  16. +
  17. +#ifdef __cplusplus
  18. +}
  19. +#endif
  20. #undef GSM_P