patch-include_ethernetdb_h 1.2 KB

1234567891011121314151617181920212223242526272829
  1. --- ebtables-v2.0.10-4.orig/include/ethernetdb.h 2011-12-15 21:02:47.000000000 +0100
  2. +++ ebtables-v2.0.10-4/include/ethernetdb.h 2014-03-23 15:47:35.000000000 +0100
  3. @@ -38,21 +38,20 @@ struct ethertypeent {
  4. /* Open ethertype data base files and mark them as staying open even
  5. after a later search if STAY_OPEN is non-zero. */
  6. -extern void setethertypeent(int __stay_open) __THROW;
  7. +extern void setethertypeent(int __stay_open);
  8. /* Close ethertype data base files and clear `stay open' flag. */
  9. -extern void endethertypeent(void) __THROW;
  10. +extern void endethertypeent(void);
  11. /* Get next entry from ethertype data base file. Open data base if
  12. necessary. */
  13. -extern struct ethertypeent *getethertypeent(void) __THROW;
  14. +extern struct ethertypeent *getethertypeent(void);
  15. /* Return entry from ethertype data base for network with NAME. */
  16. -extern struct ethertypeent *getethertypebyname(__const char *__name)
  17. - __THROW;
  18. +extern struct ethertypeent *getethertypebyname(__const char *__name);
  19. /* Return entry from ethertype data base which number is PROTO. */
  20. -extern struct ethertypeent *getethertypebynumber(int __ethertype) __THROW;
  21. +extern struct ethertypeent *getethertypebynumber(int __ethertype);
  22. #endif /* ethernetdb.h */