diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-09-04 03:35:30 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-09-06 16:47:47 +0200 |
commit | 1e52928ad9e87f2db0a9abe0ba37d2c9c2629463 (patch) | |
tree | 21581a95387fb508d5ac12bfb62fb572be4aaffc /include/compat_af_isdn.h | |
parent | 075cac02b0e346e1fdb1176f7434a900999ec6f5 (diff) |
drop files unrelated to osmo-sgsn
These either remain from openbsc.git or slipped in while applying recent
patches from openbsc.git and do not belong in osmo-sgsn.
Change-Id: Ie9dc7514c3850010d0e9b3ab716b4f4e8d83594f
Diffstat (limited to 'include/compat_af_isdn.h')
-rw-r--r-- | include/compat_af_isdn.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/compat_af_isdn.h b/include/compat_af_isdn.h deleted file mode 100644 index 56cbfb3f2..000000000 --- a/include/compat_af_isdn.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifdef MISDN_OLD_AF_COMPATIBILITY -#undef AF_ISDN -#undef PF_ISDN - -extern int AF_ISDN; -#define PF_ISDN AF_ISDN - -int AF_ISDN; - -#endif - -extern void init_af_isdn(void); - -#ifdef AF_COMPATIBILITY_FUNC -#ifdef MISDN_OLD_AF_COMPATIBILITY -void init_af_isdn(void) -{ - int s; - - /* test for new value */ - AF_ISDN = 34; - s = socket(AF_ISDN, SOCK_RAW, ISDN_P_BASE); - if (s >= 0) { - close(s); - return; - } - AF_ISDN = 27; - s = socket(AF_ISDN, SOCK_RAW, ISDN_P_BASE); - if (s >= 0) { - close(s); - return; - } -} -#else -void init_af_isdn(void) -{ -} -#endif -#endif |