1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-11 05:29:28 -04:00

[qs_parse] Removed register

This commit is contained in:
Witold Filipczyk 2021-12-29 21:10:23 +01:00
parent edddb70200
commit e53adb8349
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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.