Hi,

I had an unresolved function timerisset() with net-snmp v5.4.4 code with our embeded OS.

Looking around, I found more then one definitions of this macros, but timerisset() was missing.

This patch helps and prevent warnings of unused vars at snmplib/ snmp_api.c.

Attachment: fix_missing_timerisset_macro.patch
Description: Binary data




IMO these macros should be at a single header file only ones defined.

claus-kleins-macbook-pro:net-snmp clausklein$ egrep 'timer[acis]\w+' tags
timeradd        perl/SNMP/perlsnmp.h    /^#define       timeradd(/;"       d
timeradd        python/netsnmp/client_intf.c    /^#define       timeradd(/;"    
   d       file:
timerclear      snmplib/snmp_api.c      /^#define       timerclear(/;"     d    
   file:
timercmp        snmplib/snmp_api.c      /^#define       timercmp(/;"       d    
   file:
timerisset      snmplib/snmp_api.c      /^#define       timerisset(/;"     d    
   file:
timersub        perl/SNMP/perlsnmp.h    /^#define       timersub(/;"       d
timersub        python/netsnmp/client_intf.c    /^#define       timersub(/;"    
   d       file:
claus-kleins-macbook-pro:net-snmp clausklein$


Thanks in advance
Best Regards
Claus

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to