From de8326d00dffdb500c02839a98330b869c2457f3 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 22 Dec 2018 09:28:48 -0800 Subject: Trim trailing white space throughout the project Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines. --- examples/snmp_api.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/snmp_api.h') diff --git a/examples/snmp_api.h b/examples/snmp_api.h index d75cb12..fc802d1 100644 --- a/examples/snmp_api.h +++ b/examples/snmp_api.h @@ -13,10 +13,10 @@ #ifndef DONT_SHARE_ERROR_WITH_OTHER_THREADS #define SET_SNMP_ERROR(x) snmp_errno=(x) #else -#define SET_SNMP_ERROR(x) +#define SET_SNMP_ERROR(x) #endif - + #ifdef __cplusplus extern "C" { #endif @@ -109,7 +109,7 @@ struct snmp_pdu { long version; int command; /* Type of this PDU */ long reqid; /* Request id - note: not incremented on retries */ - long msgid; /* Message id for V3 messages + long msgid; /* Message id for V3 messages * note: incremented for each retry */ long transid; /* Unique ID for incoming transactions */ long sessid; /* Session id for AgentX messages */ @@ -291,7 +291,7 @@ extern void snmp_set_detail (const char *); #define REPORT_usmStatsUnsupportedSecLevels_NUM 1 #define REPORT_usmStatsNotInTimeWindows_NUM 2 #define REPORT_usmStatsUnknownUserNames_NUM 3 -#define REPORT_usmStatsUnknownEngineIDs_NUM 4 +#define REPORT_usmStatsUnknownEngineIDs_NUM 4 #define REPORT_usmStatsWrongDigests_NUM 5 #define REPORT_usmStatsDecryptionErrors_NUM 6 @@ -478,7 +478,7 @@ int snmp_send (struct snmp_session *, struct snmp_pdu *); * On any error, 0 is returned. * The pdu is freed by snmp_send() unless a failure occured. */ -int snmp_async_send (struct snmp_session *, struct snmp_pdu *, +int snmp_async_send (struct snmp_session *, struct snmp_pdu *, snmp_callback, void *); -- cgit v1.2.1