move uc macro to blaze822_priv.h

pull/173/head
Leah Neukirchen 4 years ago
parent 83f9794bb0
commit 582256618a

@ -12,7 +12,8 @@ struct message {
#define isfws(c) (((unsigned char)(c) == ' ' || (unsigned char)(c) == '\t' || (unsigned char)(c) == '\n' || (unsigned char)(c) == '\r'))
// ASCII lowercase without alpha check (wrong for "@[\]^_")
// ASCII lowercase/uppercase without alpha check (wrong for "@[\]^_")
#define lc(c) ((c) | 0x20)
#define uc(c) ((c) & 0xdf)
void *mymemmem(const void *h0, size_t k, const void *n0, size_t l);

@ -12,8 +12,7 @@
#include <unistd.h>
#include "blaze822.h"
#define uc(c) ((c) & 0xdf)
#include "blaze822_priv.h"
static int8_t flags[255];
static int vflag = 0;

@ -12,9 +12,7 @@
#include <unistd.h>
#include "blaze822.h"
#define lc(c) ((c) | 0x20)
#define uc(c) ((c) & 0xdf)
#include "blaze822_priv.h"
/*

Loading…
Cancel
Save