Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
c-utility/src/gb_rand.c@0:f7f1f0d76dd6, 2018-08-23 (annotated)
- Committer:
- XinZhangMS
- Date:
- Thu Aug 23 06:52:14 2018 +0000
- Revision:
- 0:f7f1f0d76dd6
azure-c-sdk for mbed os supporting NUCLEO_F767ZI
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
XinZhangMS | 0:f7f1f0d76dd6 | 1 | // Copyright (c) Microsoft. All rights reserved. |
XinZhangMS | 0:f7f1f0d76dd6 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
XinZhangMS | 0:f7f1f0d76dd6 | 3 | |
XinZhangMS | 0:f7f1f0d76dd6 | 4 | #ifdef __cplusplus |
XinZhangMS | 0:f7f1f0d76dd6 | 5 | #include <cstdlib> |
XinZhangMS | 0:f7f1f0d76dd6 | 6 | #else |
XinZhangMS | 0:f7f1f0d76dd6 | 7 | #include <stdlib.h> |
XinZhangMS | 0:f7f1f0d76dd6 | 8 | #endif |
XinZhangMS | 0:f7f1f0d76dd6 | 9 | |
XinZhangMS | 0:f7f1f0d76dd6 | 10 | #include "azure_c_shared_utility/gb_rand.h" |
XinZhangMS | 0:f7f1f0d76dd6 | 11 | |
XinZhangMS | 0:f7f1f0d76dd6 | 12 | /*this is rand*/ |
XinZhangMS | 0:f7f1f0d76dd6 | 13 | int gb_rand(void) |
XinZhangMS | 0:f7f1f0d76dd6 | 14 | { |
XinZhangMS | 0:f7f1f0d76dd6 | 15 | return rand(); |
XinZhangMS | 0:f7f1f0d76dd6 | 16 | } |