You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2017/04/19 18:17:59 UTC

[03/30] incubator-mynewt-core git commit: net/ip; use pkg_init to initialize this package.

net/ip; use pkg_init to initialize this package.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/1eaee93d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/1eaee93d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/1eaee93d

Branch: refs/heads/master
Commit: 1eaee93d729a752031b8640eb74d4a1afbb5d000
Parents: 7701a12
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Apr 14 12:49:49 2017 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Apr 14 13:21:30 2017 -0700

----------------------------------------------------------------------
 net/ip/include/ip/init.h | 32 --------------------------------
 net/ip/pkg.yml           |  4 ++++
 2 files changed, 4 insertions(+), 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/1eaee93d/net/ip/include/ip/init.h
----------------------------------------------------------------------
diff --git a/net/ip/include/ip/init.h b/net/ip/include/ip/init.h
deleted file mode 100644
index af90799..0000000
--- a/net/ip/include/ip/init.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef __IP_INIT_H__
-#define __IP_INIT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int ip_init(void);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __IP_INIT_H__ */

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/1eaee93d/net/ip/pkg.yml
----------------------------------------------------------------------
diff --git a/net/ip/pkg.yml b/net/ip/pkg.yml
index 3387728..0f657f1 100644
--- a/net/ip/pkg.yml
+++ b/net/ip/pkg.yml
@@ -30,3 +30,7 @@ pkg.keywords:
 pkg.deps:
     - kernel/os
     - net/ip/lwip_base
+    - net/ip/mn_socket
+
+pkg.init:
+    ip_init: 200