Minor updates.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2775 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-09-05 09:06:48 +00:00
parent 43a5b70750
commit 1292437f6d
4 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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);