mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[qs_parse] Removed register
This commit is contained in:
parent
edddb70200
commit
e53adb8349
@ -9,10 +9,10 @@
|
||||
#define HEX2DEC(x) (((x)>='0'&&(x)<='9') ? (x)-48 : ((x)>='A'&&(x)<='F') ? (x)-55 : ((x)>='a'&&(x)<='f') ? (x)-87 : 0)
|
||||
#define ISQSCHR(x) ((((x)=='=')||((x)=='#')||((x)=='&')||((x)=='\0')) ? 0 : 1)
|
||||
|
||||
int qs_strncmp(const char * s, const char * qs, register size_t n)
|
||||
int qs_strncmp(const char * s, const char * qs, size_t n)
|
||||
{
|
||||
int i=0;
|
||||
register unsigned char u1, u2, unyb, lnyb;
|
||||
unsigned char u1, u2, unyb, lnyb;
|
||||
|
||||
while(n-- > 0)
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ extern "C" {
|
||||
|
||||
|
||||
/* Similar to strncmp, but handles URL-encoding for either string */
|
||||
int qs_strncmp(const char * s, const char * qs, register size_t n);
|
||||
int qs_strncmp(const char * s, const char * qs, size_t n);
|
||||
|
||||
|
||||
/* Finds the beginning of each key/value pair and stores a pointer in qs_kv.
|
||||
|
Loading…
Reference in New Issue
Block a user