aboutsummaryrefslogtreecommitdiff
path: root/libwmc/src/utils.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-05-30 11:40:20 -0500
committerDan Williams <dcbw@redhat.com>2012-05-30 11:48:42 -0500
commit96166e4b7599f80a76f1cc776fb79cc5fdf55d26 (patch)
treefded61b691e1462a53089f0995f8a94189e87e19 /libwmc/src/utils.h
parent9fb8158279ce64bfbe626b7e36d08f77d2ce81c2 (diff)
wmc: namespace stuff properly
Diffstat (limited to 'libwmc/src/utils.h')
-rw-r--r--libwmc/src/utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libwmc/src/utils.h b/libwmc/src/utils.h
index 6db590f5..f1fc4236 100644
--- a/libwmc/src/utils.h
+++ b/libwmc/src/utils.h
@@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef UTILS_H
-#define UTILS_H
+#ifndef LIBWMC_UTILS_H
+#define LIBWMC_UTILS_H
#include <sys/types.h>
@@ -33,7 +33,7 @@ typedef u_int8_t wmcbool;
/* Utility and testcase functions */
-u_int16_t crc16 (const char *buffer, size_t len, u_int16_t seed);
+u_int16_t wmc_crc16 (const char *buffer, size_t len, u_int16_t seed);
size_t hdlc_escape (const char *inbuf,
size_t inbuf_len,
@@ -84,5 +84,5 @@ wmcbool wmc_decapsulate (const char *inbuf,
wmcbool *out_need_more,
wmcbool uml290);
-#endif /* UTILS_H */
+#endif /* LIBWMC_UTILS_H */