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-03-20
Revision:
42:0cc3c211ad26
Parent:
40:3f3af6cd8a01
Child:
44:00caa8779676

File content as of revision 42:0cc3c211ad26:

// 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 AZURE_UNREFERENCED_PARAMETER
#define AZURE_UNREFERENCED_PARAMETER(param)   (void)(param)
#endif

#endif // CONST_DEFINES