chiark
/
gitweb
/
~mdw
/
adns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe5630
)
src/internal.h: Delete decoy type `rr_align'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 7 Jun 2014 17:02:53 +0000
(18:02 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 13 Jun 2014 08:57:40 +0000
(09:57 +0100)
The droid you were looking for is called `union maxalign'.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
src/internal.h
patch
|
blob
|
blame
|
history
diff --git
a/src/internal.h
b/src/internal.h
index 58cd15d2fba69ae80e8f09bf99b71580b8cce07a..9df4da5f839ea89bc299a2400c86c6dbf33e3aad 100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-89,15
+89,6
@@
typedef enum {
/* Shared data structures */
-typedef union {
- adns_status status;
- char *cp;
- adns_rrtype type;
- int i;
- struct in_addr ia;
- unsigned long ul;
-} rr_align;
-
typedef struct {
int used, avail;
byte *buf;