• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ebtables/0001-ethernetdb.h-Remove-C-specific-compiler-hint-macro-_.patch
Baruch SiachBaruch Siach committed 30c4b5843f116 Feb 2017
Raw file
Source viewDiff to previous
 
1
From f8079671326e9fd079391d24911a9a8a77f1d6fd Mon Sep 17 00:00:00 2001
2
From: Felix Janda <felix.janda@posteo.de>
3
Date: Sat, 16 May 2015 12:31:58 +0200
4
Subject: [PATCH] ethernetdb.h: Remove C++ specific compiler hint macro _THROW
5
​
6
Fixes compilation with musl libc
7
​
8
Signed-off-by: Felix Janda <felix.janda@posteo.de>
9
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
10
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
11
---
12
Patch status: upstream commit f8079671326e9fd0
13
​
14
 include/ethernetdb.h | 11 +++++------
15
 1 file changed, 5 insertions(+), 6 deletions(-)
16
​
17
diff --git a/include/ethernetdb.h b/include/ethernetdb.h
18
index 46d8bfd1b7e5..1683abe01987 100644
19
--- a/include/ethernetdb.h
20
+++ b/include/ethernetdb.h
21
@@ -38,21 +38,20 @@ struct ethertypeent {
22
 
23
 /* Open ethertype data base files and mark them as staying open even
24
    after a later search if STAY_OPEN is non-zero.  */
25
-extern void setethertypeent(int __stay_open) __THROW;
26
+extern void setethertypeent(int __stay_open);
27
 
28
 /* Close ethertype data base files and clear `stay open' flag.  */
29
-extern void endethertypeent(void) __THROW;
30
+extern void endethertypeent(void);
31
 
32
 /* Get next entry from ethertype data base file.  Open data base if
33
    necessary.  */
34
-extern struct ethertypeent *getethertypeent(void) __THROW;
35
+extern struct ethertypeent *getethertypeent(void);
36
 
37
 /* Return entry from ethertype data base for network with NAME.  */
38
-extern struct ethertypeent *getethertypebyname(__const char *__name)
39
-    __THROW;
40
+extern struct ethertypeent *getethertypebyname(__const char *__name);
41
 
42
 /* Return entry from ethertype data base which number is PROTO.  */
43
-extern struct ethertypeent *getethertypebynumber(int __ethertype) __THROW;
44
+extern struct ethertypeent *getethertypebynumber(int __ethertype);
45
 
46
 
47
 #endif             /* ethernetdb.h */
48
-- 
49
2.11.0
50
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.