projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b2f9d79
)
Avoid potentially empty struct.
Jarkko Hietaniemi [Tue, 14 May 2002 03:14:10 +0000 (
03:14
+0000)]
p4raw-id: //depot/perl@16588
reentr.h
patch
|
blob
|
blame
|
history
reentr.pl
patch
|
blob
|
blame
|
history
diff --git
a/reentr.h
b/reentr.h
index
fa93b68
..
d72647b
100644
(file)
--- a/
reentr.h
+++ b/
reentr.h
@@
-743,6
+743,7
@@
typedef struct {
size_t _ttyname_size;
#endif /* HAS_TTYNAME_R */
+ int dummy; /* just in case */
} REENTR;
/* The wrappers. */
diff --git
a/reentr.pl
b/reentr.pl
index
5494f78
..
e8f2544
100644
(file)
--- a/
reentr.pl
+++ b/
reentr.pl
@@
-668,6
+668,7
@@
print <<EOF;
@define
typedef struct {
@struct
+ int dummy; /* just in case */
} REENTR;
/* The wrappers. */