summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2007-07-28 23:55:31 +0200
committerMichael Brown2007-07-28 23:55:31 +0200
commite3484e26eba1ba36481d814b35f8561a0f4cb8a6 (patch)
tree2b0691c2aae17c8aca095d88ebcc172a7e06805c /src/net
parentEnsure clock line is in the idle state before asserting chip select. (diff)
parentMake has_key() a static inline, rather than omitting it altogether. (diff)
downloadipxe-e3484e26eba1ba36481d814b35f8561a0f4cb8a6.tar.gz
ipxe-e3484e26eba1ba36481d814b35f8561a0f4cb8a6.tar.xz
ipxe-e3484e26eba1ba36481d814b35f8561a0f4cb8a6.zip
Merge branch 'symcheck2'
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ndp.c5
-rw-r--r--src/net/tcp/http.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ndp.c b/src/net/ndp.c
index 7c684e7c1..3b6984db8 100644
--- a/src/net/ndp.c
+++ b/src/net/ndp.c
@@ -65,8 +65,9 @@ ndp_find_entry ( struct in6_addr *in6 ) {
* @v ll_addr Link-layer address
* @v state State of the entry - one of the NDP_STATE_XXX values
*/
-void add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
- void *ll_addr, int state ) {
+static void
+add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6,
+ void *ll_addr, int state ) {
struct ndp_entry *ndp;
ndp = &ndp_table[next_new_ndp_entry++ % NUM_NDP_ENTRIES];
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c
index 88958af5a..9c2436816 100644
--- a/src/net/tcp/http.c
+++ b/src/net/tcp/http.c
@@ -465,7 +465,7 @@ static struct xfer_interface_operations http_xfer_operations = {
* @v uri Uniform Resource Identifier
* @ret rc Return status code
*/
-int http_open ( struct xfer_interface *xfer, struct uri *uri ) {
+static int http_open ( struct xfer_interface *xfer, struct uri *uri ) {
struct http_request *http;
struct sockaddr_tcpip server;
int rc;