Updated prototypes and include as required and found by compile with extra checking. Thanks to Nigel Jones for his "setting a bad example" article.

This commit is contained in:
skarg
2010-08-17 19:43:59 +00:00
parent b6f95a6b81
commit 3c9c3c2d56
54 changed files with 146 additions and 106 deletions
+5 -4
View File
@@ -33,19 +33,20 @@
#include "apdu.h"
#include "npdu.h"
#include "reject.h"
#include "handlers.h"
/** @file noserv.c Handles an unrecognized/unsupported service. */
/** Handler to be invoked when a Service request is received for which no
/** Handler to be invoked when a Service request is received for which no
* handler has been defined.
* @ingroup MISCHNDLR
* This handler builds a Reject response packet, and sends it.
*
*
* @param service_request [in] The contents of the service request (unused).
* @param service_len [in] The length of the service_request (unused).
* @param src [in] BACNET_ADDRESS of the source of the message
* @param service_data [in] The BACNET_CONFIRMED_SERVICE_DATA information
* decoded from the APDU header of this message.
* @param service_data [in] The BACNET_CONFIRMED_SERVICE_DATA information
* decoded from the APDU header of this message.
*/
void handler_unrecognized_service(
uint8_t * service_request,