diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-12-26 17:31:14 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-12-26 17:31:14 +0000 |
commit | 65792853b868b5b5ee2c9e7d7b72efbf09c35e61 (patch) | |
tree | be3a2bbdd59b632c3d66fb7c38fd3aa682a47be6 /src/print.c | |
parent | 245faa5b481ba7fb86ab92fbf7afb89712da343c (diff) | |
download | file-git-65792853b868b5b5ee2c9e7d7b72efbf09c35e61.tar.gz |
prefix public/private/protected with file_
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/print.c b/src/print.c index 66d32d5e..18f42a05 100644 --- a/src/print.c +++ b/src/print.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: print.c,v 1.96 2022/09/27 01:58:20 christos Exp $") +FILE_RCSID("@(#)$File: print.c,v 1.97 2022/12/26 17:31:14 christos Exp $") #endif /* lint */ #include <string.h> @@ -46,7 +46,7 @@ FILE_RCSID("@(#)$File: print.c,v 1.96 2022/09/27 01:58:20 christos Exp $") #include "cdf.h" #ifndef COMPILE_ONLY -protected void +file_protected void file_mdump(struct magic *m) { static const char optyp[] = { FILE_OPS }; @@ -242,7 +242,7 @@ file_mdump(struct magic *m) #endif /*VARARGS*/ -protected void +file_protected void file_magwarn(struct magic_set *ms, const char *f, ...) { va_list va; @@ -260,7 +260,7 @@ file_magwarn(struct magic_set *ms, const char *f, ...) (void) fputc('\n', stderr); } -protected const char * +file_protected const char * file_fmtvarint(char *buf, size_t blen, const unsigned char *us, int t) { snprintf(buf, blen, "%jd", CAST(intmax_t, @@ -268,7 +268,7 @@ file_fmtvarint(char *buf, size_t blen, const unsigned char *us, int t) return buf; } -protected const char * +file_protected const char * file_fmtdatetime(char *buf, size_t bsize, uint64_t v, int flags) { char *pp; @@ -307,7 +307,7 @@ out: * https://docs.microsoft.com/en-us/windows/win32/api/winbase/\ * nf-winbase-dosdatetimetofiletime?redirectedfrom=MSDN */ -protected const char * +file_protected const char * file_fmtdate(char *buf, size_t bsize, uint16_t v) { struct tm tm; @@ -326,7 +326,7 @@ out: return buf; } -protected const char * +file_protected const char * file_fmttime(char *buf, size_t bsize, uint16_t v) { struct tm tm; @@ -346,7 +346,7 @@ out: } -protected const char * +file_protected const char * file_fmtnum(char *buf, size_t blen, const char *us, int base) { char *endptr; |