From 9fb8158279ce64bfbe626b7e36d08f77d2ce81c2 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 30 May 2012 11:39:23 -0500 Subject: qcdm: namespace stuff properly --- libqcdm/src/utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libqcdm/src/utils.h') diff --git a/libqcdm/src/utils.h b/libqcdm/src/utils.h index e8cb0b75..457c2e99 100644 --- a/libqcdm/src/utils.h +++ b/libqcdm/src/utils.h @@ -15,8 +15,8 @@ * along with this program. If not, see . */ -#ifndef UTILS_H -#define UTILS_H +#ifndef LIBQCDM_UTILS_H +#define LIBQCDM_UTILS_H #include #include @@ -32,7 +32,7 @@ typedef u_int8_t qcdmbool; #define DIAG_CONTROL_CHAR 0x7E #define DIAG_TRAILER_LEN 3 -u_int16_t crc16 (const char *buffer, size_t len); +u_int16_t dm_crc16 (const char *buffer, size_t len); size_t dm_escape (const char *inbuf, size_t inbuf_len, @@ -59,5 +59,5 @@ qcdmbool dm_decapsulate_buffer (const char *inbuf, size_t *out_used, qcdmbool *out_need_more); -#endif /* UTILS_H */ +#endif /* LIBQCDM_UTILS_H */ -- cgit v1.2.3-70-g09d2