mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
8f842d867f
(merge from www/geolizer) Suggested by: Steve Clement, David Raison Reviewed by: Andrey Chernov
25 lines
857 B
Plaintext
25 lines
857 B
Plaintext
--- linklist.h.orig Fri Sep 29 05:50:30 2000
|
|
+++ linklist.h Sat Jun 23 11:15:57 2001
|
|
@@ -1,12 +1,18 @@
|
|
#ifndef _LINKLIST_H
|
|
#define _LINKLIST_H
|
|
|
|
-struct nlist { char string[80]; /* list struct for HIDE items */
|
|
+#ifndef LINKLIST_MAX_STRING
|
|
+#define LINKLIST_MAX_STRING 80
|
|
+#endif
|
|
+
|
|
+struct nlist { /* list struct for HIDE items */
|
|
+ char string[LINKLIST_MAX_STRING];
|
|
struct nlist *next; };
|
|
typedef struct nlist *NLISTPTR;
|
|
|
|
-struct glist { char string[80]; /* list struct for GROUP items */
|
|
- char name[80];
|
|
+struct glist { /* list struct for GROUP items */
|
|
+ char string[LINKLIST_MAX_STRING];
|
|
+ char name[LINKLIST_MAX_STRING];
|
|
struct glist *next; };
|
|
typedef struct glist *GLISTPTR;
|
|
|