summaryrefslogtreecommitdiff
path: root/mysys/my_once.c
diff options
context:
space:
mode:
authorsalle@geopard.(none) <>2002-07-09 18:59:52 +0300
committersalle@geopard.(none) <>2002-07-09 18:59:52 +0300
commit58f442152b5c5f4e0fdd4d68367dd5114f8bd07a (patch)
treed82e6a1ef9abf64d6b1a81940ad35dfedb93bfe7 /mysys/my_once.c
parentb417559e07866e7507898f2b5483052cd2c8a59c (diff)
downloadmariadb-git-58f442152b5c5f4e0fdd4d68367dd5114f8bd07a.tar.gz
Rewrite function 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)
{