Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.c
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2020-01-26 07:01:42 +0000
committerAllan McRae <allan@archlinux.org>2020-01-28 10:46:27 +1000
commitd0c487d4dcc6fec6f4bd8e1cefa1de9ffbe0e460 (patch)
treea93e22ff2ae481767df86a651352c424f57cc850 /lib/libalpm/log.c
parent0a25548cd0910f66dea2dfab21f75a6d15366d64 (diff)
Docs docs docs
libalpm: move docs from .c files into alpm.h And fix/expand some along the way. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.c')
-rw-r--r--lib/libalpm/log.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c
index bae92f1f..a6702782 100644
--- a/lib/libalpm/log.c
+++ b/lib/libalpm/log.c
@@ -30,11 +30,6 @@
#include "util.h"
#include "alpm.h"
-/** \addtogroup alpm_log Logging Functions
- * @brief Functions to log using libalpm
- * @{
- */
-
static int _alpm_log_leader(FILE *f, const char *prefix)
{
time_t t = time(NULL);
@@ -47,12 +42,6 @@ static int _alpm_log_leader(FILE *f, const char *prefix)
return fprintf(f, "[%s] [%s] ", timestamp, prefix);
}
-/** A printf-like function for logging.
- * @param handle the context handle
- * @param prefix caller-specific prefix for the log
- * @param fmt output format
- * @return 0 on success, -1 on error (pm_errno is set accordingly)
- */
int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *prefix,
const char *fmt, ...)
{
@@ -109,8 +98,6 @@ int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *prefix,
return ret;
}
-/** @} */
-
void _alpm_log(alpm_handle_t *handle, alpm_loglevel_t flag, const char *fmt, ...)
{
va_list args;