diff options
author | Dan Williams <dcbw@redhat.com> | 2012-05-30 11:39:23 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-05-30 11:48:42 -0500 |
commit | 9fb8158279ce64bfbe626b7e36d08f77d2ce81c2 (patch) | |
tree | 5f693fff0e5d0228e52a993c253327069ab901ba /libqcdm/src/utils.h | |
parent | e5f787d36486f20d728378ce0bd4e5027c7405b3 (diff) |
qcdm: namespace stuff properly
Diffstat (limited to 'libqcdm/src/utils.h')
-rw-r--r-- | libqcdm/src/utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. */ -#ifndef UTILS_H -#define UTILS_H +#ifndef LIBQCDM_UTILS_H +#define LIBQCDM_UTILS_H #include <config.h> #include <sys/types.h> @@ -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 */ |