aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-11 23:17:06 +0100
committerThomas White <taw@physics.org>2018-03-11 23:21:52 +0100
commitc7a86a47001baca65c87d0f060f9a57af8537cf2 (patch)
treeb5a2ae1e710d7efc1e6830f3323edab5082d5759 /src/utils.h
parent2975d15b76c5321d9facae06266fbc17dc99492b (diff)
Rename some functions to make them unique
Makes things less confusing. Ulterior motive: makes Meson unity builds work.
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
new file mode 100644
index 0000000..11351fb
--- /dev/null
+++ b/src/utils.h
@@ -0,0 +1,35 @@
+/*
+ * utils.h
+ *
+ * Copyright © 2013-2018 Thomas White <taw@bitwiz.org.uk>
+ *
+ * This file is part of Colloquium.
+ *
+ * Colloquium is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef UTILS_H
+#define UTILS_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+
+extern void chomp(char *s);
+extern int safe_strcmp(const char *a, const char *b);
+
+
+#endif /* UTILS_H */