You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/09/08 18:45:07 UTC

incubator-mynewt-core git commit: Fix multiple definition linker error.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop d9aa9e242 -> 2d393f8ca


Fix multiple definition linker error.

An object with external linkage was being defined in a header file.
This object is not needed at all, so I removed it.


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/2d393f8c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/2d393f8c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/2d393f8c

Branch: refs/heads/develop
Commit: 2d393f8caf0438b3a84a1945385c9641d4dbdd2b
Parents: d9aa9e2
Author: Christopher Collins <cc...@apache.org>
Authored: Thu Sep 8 11:44:06 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Thu Sep 8 11:44:06 2016 -0700

----------------------------------------------------------------------
 sys/fcb/include/fcb/fcb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/2d393f8c/sys/fcb/include/fcb/fcb.h
----------------------------------------------------------------------
diff --git a/sys/fcb/include/fcb/fcb.h b/sys/fcb/include/fcb/fcb.h
index 290303f..a6b3f88 100644
--- a/sys/fcb/include/fcb/fcb.h
+++ b/sys/fcb/include/fcb/fcb.h
@@ -78,7 +78,7 @@ int fcb_init(struct fcb *fcb);
 struct fcb_log {
     struct fcb fl_fcb;
     uint8_t fl_entries;
-} fcb_log;
+};
 
 int log_fcb_init(struct fcb_log *fcblog, struct fcb *fcb, uint16_t entries);