Skip to content

Commit 658fca8

Browse files
committed
Fix a few portability issues, adjust error messages.
1 parent 8fd5b3e commit 658fca8

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

contrib/tsearch2/snowball/api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <stdlib.h>
12

23
#include "header.h"
34

contrib/tsearch2/snowball/english_stem.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ static int r_prelude(struct SN_env * z) {
373373
z->c = c;
374374
break;
375375
}
376-
lab1:
377376
z->c = c;
378377
}
379378
return 1;

contrib/tsearch2/snowball/header.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
2-
#include <limits.h>
3-
41
#include "api.h"
52

6-
#define MAXINT INT_MAX
7-
#define MININT INT_MIN
8-
93
#define HEAD 2*sizeof(int)
104

115
#define SIZE(p) ((int *)(p))[-1]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy