mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
Minor updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2775 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
43a5b70750
commit
1292437f6d
@ -185,7 +185,7 @@ xaccGUIDNew(GUID *guid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const GUID *
|
const GUID *
|
||||||
xaccGUIDNULL()
|
xaccGUIDNULL(void)
|
||||||
{
|
{
|
||||||
static int null_inited = (0 == 1);
|
static int null_inited = (0 == 1);
|
||||||
static GUID null_guid;
|
static GUID null_guid;
|
||||||
|
@ -63,6 +63,6 @@ typedef enum
|
|||||||
GNCIdType xaccGUIDType(const GUID * guid);
|
GNCIdType xaccGUIDType(const GUID * guid);
|
||||||
|
|
||||||
/* Returns a GUID which is guaranteed to never reference any entity. */
|
/* Returns a GUID which is guaranteed to never reference any entity. */
|
||||||
const GUID * xaccGUIDNULL();
|
const GUID * xaccGUIDNULL(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -195,7 +195,7 @@ init_from_dir(const char *dirname, unsigned int max_files)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
init_from_time()
|
init_from_time(void)
|
||||||
{
|
{
|
||||||
size_t total;
|
size_t total;
|
||||||
time_t t_time;
|
time_t t_time;
|
||||||
@ -217,7 +217,7 @@ init_from_time()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
guid_init()
|
guid_init(void)
|
||||||
{
|
{
|
||||||
size_t bytes = 0;
|
size_t bytes = 0;
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ typedef union _GUID
|
|||||||
* given in the salt argument, but not with any other source. Calling
|
* given in the salt argument, but not with any other source. Calling
|
||||||
* guid_init_only_salt() with a specific argument will produce a
|
* guid_init_only_salt() with a specific argument will produce a
|
||||||
* specific sequence of ids reliably. */
|
* specific sequence of ids reliably. */
|
||||||
void guid_init();
|
void guid_init(void);
|
||||||
void guid_init_with_salt(const void *salt, size_t salt_len);
|
void guid_init_with_salt(const void *salt, size_t salt_len);
|
||||||
void guid_init_only_salt(const void *salt, size_t salt_len);
|
void guid_init_only_salt(const void *salt, size_t salt_len);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user