common: c++ link error if multiple files include header
authorKurt Eckhardt <kurte@rockisland.com>
Sat, 18 Oct 2014 13:54:38 +0000 (06:54 -0700)
committerBrendan Le Foll <brendan@fridu.org>
Sun, 19 Oct 2014 08:02:58 +0000 (09:02 +0100)
commit0f2329bd950369dd844481a004e21fb088148683
tree4ff46848db328b1e95bcf7024b11ca49b2b4b138
parentd734a661fd1e6596be83c2f0e993af26f626e798
common: c++ link error if multiple files include header

Header only C++ function definitions need to be static to avoid linking issues
when including the header multiple times.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/mraa/common.hpp