diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-07-11 12:03:56 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-07-11 12:03:56 -0700 |
commit | 6cb7ad8d0bd51e178ec25222251d2e842b9e5aa0 (patch) | |
tree | b67eed808db970f899c32b69f72fb64cbbc66c53 /src/common/unionfs.h | |
parent | 8ebd82645a8503ec1b8464586e5c19c18c009f06 (diff) | |
download | vyatta-cfg-6cb7ad8d0bd51e178ec25222251d2e842b9e5aa0.tar.gz vyatta-cfg-6cb7ad8d0bd51e178ec25222251d2e842b9e5aa0.zip |
Minor code cleanup
1. Make local functions static
2. Use C standard for function with no-args versus old K&R style
3. Make some arguments const
Diffstat (limited to 'src/common/unionfs.h')
-rw-r--r-- | src/common/unionfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/unionfs.h b/src/common/unionfs.h index 6437e2a..8ce50af 100644 --- a/src/common/unionfs.h +++ b/src/common/unionfs.h @@ -20,7 +20,7 @@ extern "C" { #define MAX_LENGTH_HELP_STR 4096 boolean -value_exists(char *path); +value_exists(const char *path); struct PriData { unsigned long _pri; |