Cleanup: headers
This commit is contained in:
@@ -18,16 +18,13 @@
|
|||||||
* ***** END GPL LICENSE BLOCK *****
|
* ***** END GPL LICENSE BLOCK *****
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BLI_MD5_H__
|
#ifndef __BLI_HASH_MD5_H__
|
||||||
#define __BLI_MD5_H__
|
#define __BLI_HASH_MD5_H__
|
||||||
|
|
||||||
/** \file BLI_hash_md5.h
|
/** \file BLI_hash_md5.h
|
||||||
* \ingroup bli
|
* \ingroup bli
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
|
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
|
||||||
* result is always in little endian byte order, so that a byte-wise
|
* result is always in little endian byte order, so that a byte-wise
|
||||||
* output yields to the wanted ASCII representation of the message
|
* output yields to the wanted ASCII representation of the message
|
||||||
@@ -43,4 +40,4 @@ int md5_stream(FILE *stream, void *resblock);
|
|||||||
|
|
||||||
char *md5_to_hexdigest(void *resblock, char r_hex_digest[33]);
|
char *md5_to_hexdigest(void *resblock, char r_hex_digest[33]);
|
||||||
|
|
||||||
#endif /* __BLI_MD5_H__ */
|
#endif /* __BLI_HASH_MD5_H__ */
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
* ***** END GPL LICENSE BLOCK *****
|
* ***** END GPL LICENSE BLOCK *****
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BLI_MM2A_H__
|
#ifndef __BLI_HASH_MM2A_H__
|
||||||
#define __BLI_MM2A_H__
|
#define __BLI_HASH_MM2A_H__
|
||||||
|
|
||||||
/** \file BLI_hash_mm2a.h
|
/** \file BLI_hash_mm2a.h
|
||||||
* \ingroup bli
|
* \ingroup bli
|
||||||
@@ -42,4 +42,4 @@ void BLI_hash_mm2a_add_int(BLI_HashMurmur2A *mm2, int data);
|
|||||||
|
|
||||||
uint32_t BLI_hash_mm2a_end(BLI_HashMurmur2A *mm2);
|
uint32_t BLI_hash_mm2a_end(BLI_HashMurmur2A *mm2);
|
||||||
|
|
||||||
#endif /* __BLI_MM2A_H__ */
|
#endif /* __BLI_HASH_MM2A_H__ */
|
||||||
|
@@ -29,13 +29,13 @@
|
|||||||
* according to the definition of MD5 in RFC 1321 from April 1992.
|
* according to the definition of MD5 in RFC 1321 from April 1992.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "BLI_hash_md5.h" /* own include */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include "BLI_hash_md5.h" /* own include */
|
||||||
|
|
||||||
#if defined HAVE_LIMITS_H || defined _LIBC
|
#if defined HAVE_LIMITS_H || defined _LIBC
|
||||||
# include <limits.h>
|
# include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
@@ -8031,7 +8031,6 @@ float ui_block_calc_pie_segment(uiBlock *block, const float event_xy[2])
|
|||||||
|
|
||||||
len = normalize_v2_v2(block->pie_data.pie_dir, seg2);
|
len = normalize_v2_v2(block->pie_data.pie_dir, seg2);
|
||||||
|
|
||||||
/* ten pixels for now, a bit arbitrary */
|
|
||||||
if (len < U.pie_menu_threshold * U.pixelsize)
|
if (len < U.pie_menu_threshold * U.pixelsize)
|
||||||
block->pie_data.flags |= UI_PIE_INVALID_DIR;
|
block->pie_data.flags |= UI_PIE_INVALID_DIR;
|
||||||
else
|
else
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "BLI_utildefines.h"
|
#include "BLI_utildefines.h"
|
||||||
#include "BLI_string.h"
|
#include "BLI_string.h"
|
||||||
|
Reference in New Issue
Block a user