Azure IoT common library

Dependents:   STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more

azure_c_shared_utility/const_defines.h

Committer:
AzureIoTClient
Date:
2018-02-15
Revision:
40:3f3af6cd8a01
Child:
42:0cc3c211ad26

File content as of revision 40:3f3af6cd8a01:

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

#ifndef CONST_DEFINES_H
#define CONST_DEFINES_H

// Used to remove GCC warning unused
#ifdef __GNUC__
    #define STATIC_VAR_UNUSED __attribute__ ((unused))
#else
    #define STATIC_VAR_UNUSED
#endif

#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(param)   (void)(param)
#endif

#endif // CONST_DEFINES