<p>On some systems compiling cnxcc we get:</p>

<p>cnxcc.h:36:12: warning: inline function �timestamp2isodt� declared but never defined<br>
 inline int timestamp2isodt(str *dest, unsigned int timestamp);<br>
            ^<br>
cnxcc.h:35:21: warning: inline function �get_current_timestamp� declared but never defined<br>
 inline unsigned int get_current_timestamp();<br>
                     ^<br>
cnxcc.h:34:13: warning: inline function �get_datetime� declared but never defined<br>
 inline void get_datetime(str *dest);</p>

<p>and then at runtime:</p>

<p>ERROR:  [sr_module.c:576]: load_module(): could not open module : /usr/lib64/kamailio/modules/cnxcc.so: undefined symbol: get_current_timestamp</p>

<p>The present patch moves the definition of the inline functions into the .h file.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/453'>https://github.com/kamailio/kamailio/pull/453</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>cnxcc: define inline functions in cnxcc.h</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/453/files#diff-0">modules/cnxcc/cnxcc.c</a>
    (24)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/453/files#diff-1">modules/cnxcc/cnxcc.h</a>
    (27)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/453.patch'>https://github.com/kamailio/kamailio/pull/453.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/453.diff'>https://github.com/kamailio/kamailio/pull/453.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/453">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZWlTb6HKgkJthhUAFu4g7CZ0luk5ks5pST_NgaJpZM4G5606.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/453"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>