summaryrefslogtreecommitdiffstats
path: root/sbin/devd/devd.hh
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-04 02:19:55 +0000
committereadler <eadler@FreeBSD.org>2013-03-04 02:19:55 +0000
commit5175512e239622e91230d350a1a2986774b17698 (patch)
tree940b87de3a5068b48777d11f04a844ccafcd5218 /sbin/devd/devd.hh
parentc3b73942d316ae6fa383dd91712f0e455d5e6d55 (diff)
downloadFreeBSD-src-5175512e239622e91230d350a1a2986774b17698.zip
FreeBSD-src-5175512e239622e91230d350a1a2986774b17698.tar.gz
Constify where possible.
Approved by: cperciva (mentor)
Diffstat (limited to 'sbin/devd/devd.hh')
-rw-r--r--sbin/devd/devd.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh
index a48d07b..448a9e4 100644
--- a/sbin/devd/devd.hh
+++ b/sbin/devd/devd.hh
@@ -172,7 +172,7 @@ protected:
void parse_files_in_dir(const char *dirname);
void expand_one(const char *&src, std::string &dst);
bool is_id_char(char) const;
- bool chop_var(char *&buffer, char *&lhs, char *&rhs);
+ bool chop_var(char *&buffer, char *&lhs, char *&rhs) const;
private:
std::vector<std::string> _dir_list;
std::string _pidfile;
OpenPOWER on IntegriCloud