diff options
| author | Pádraig Brady <P@draigBrady.com> | 2021-04-11 18:23:21 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2021-04-11 18:33:45 +0100 |
| commit | ef772bf97f7ec577754cbb5b278504d83cf41a43 (patch) | |
| tree | b6553bdc35b4d08368d427dbb3bb790acf43129c /src/selinux.c | |
| parent | ls: cache name width determination (diff) | |
| download | coreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.tar.gz coreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.zip | |
maint: use "char const *" rather than "const char *"
* cfg.mk (sc_prohibit-const-char): Add a new syntax-check to
enforce this style.
* *.[ch]: sed -i 's/const char \*/char const */g'
Diffstat (limited to 'src/selinux.c')
| -rw-r--r-- | src/selinux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selinux.c b/src/selinux.c index dafd47137..053fcc993 100644 --- a/src/selinux.c +++ b/src/selinux.c @@ -114,7 +114,7 @@ defaultcon (struct selabel_handle *selabel_handle, char *scon = NULL; char *tcon = NULL; context_t scontext = 0, tcontext = 0; - const char *contype; + char const *contype; char *constr; char *newpath = NULL; @@ -182,7 +182,7 @@ restorecon_private (struct selabel_handle *selabel_handle, char const *path) char *scon = NULL; char *tcon = NULL; context_t scontext = 0, tcontext = 0; - const char *contype; + char const *contype; char *constr; int fd; |
