summaryrefslogtreecommitdiff
path: root/mysys/my_once.c
diff options
context:
space:
mode:
authorunknown <salle@geopard.(none)>2002-07-09 18:59:52 +0300
committerunknown <salle@geopard.(none)>2002-07-09 18:59:52 +0300
commite797b466b4234c5960927de0fde2077fe6293626 (patch)
treed82e6a1ef9abf64d6b1a81940ad35dfedb93bfe7 /mysys/my_once.c
parentbfdddfa81f71850a73ac2538b25d80ba1c218a1e (diff)
downloadmariadb-git-e797b466b4234c5960927de0fde2077fe6293626.tar.gz
Rewrite function comments
mysys/array.c: Rewrite functions comments mysys/checksum.c: Rewrite function comment Style cleanup mysys/mulalloc.c: Rewrite function comment mysys/my_chsize.c: Rewrite function comment mysys/my_error.c: Rewrite comments mysys/my_once.c: Rewrite comments mysys/my_div.c: Rewrite comments mysys/my_open.c: Rewrite comments
Diffstat (limited to 'mysys/my_once.c')
-rw-r--r--mysys/my_once.c20
1 files changed, 17 insertions, 3 deletions
diff --git a/mysys/my_once.c b/mysys/my_once.c
index 3358112551f..1250ce24994 100644
--- a/mysys/my_once.c
+++ b/mysys/my_once.c
@@ -24,8 +24,17 @@
#include "my_static.h"
#include "mysys_err.h"
- /* alloc for things we don't nead to free */
- /* No DBUG_ENTER... here to get smaller dbug-startup */
+/*
+ Alloc for things we don't nead to free
+
+ SYNOPSIS
+ my_once_alloc()
+ Size
+ MyFlags
+
+ NOTES
+ No DBUG_ENTER... here to get smaller dbug-startup
+*/
gptr my_once_alloc(unsigned int Size, myf MyFlags)
{
@@ -69,7 +78,12 @@ gptr my_once_alloc(unsigned int Size, myf MyFlags)
} /* my_once_alloc */
- /* deallocate everything used by my_once_alloc */
+/*
+ Deallocate everything used by my_once_alloc
+
+ SYNOPSIS
+ my_once_free()
+*/
void my_once_free(void)
{