~rdoering/ubuntu/intrepid/erlang/fix-535090

« back to all changes in this revision

Viewing changes to erts/emulator/obsolete/driver.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-05-01 16:57:10 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070501165710-2sapk0hp2gf3o0ip
Tags: 1:11.b.4-2ubuntu1
* Merge with Debian Unstable. Remaining changes:
  - Add -fno-stack-protector to fix broken crypto_drv.
* DebianMaintainerField update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
/* This structure MUST match Binary in global.h exactly!!! */
76
76
typedef struct driver_binary {
77
77
    int orig_size;        /* total length of binary */
78
 
    int refc;             /* number of references to this binary */
79
78
    char orig_bytes[1];   /* the data (char instead of byte!) */
80
79
} DriverBinary;
81
80
 
113
112
    F_PTR timeout;       /* Reserved */
114
113
    F_PTR outputv;       /* Reserved */
115
114
    F_PTR ready_async;   /* Completion routine for driver_async */
116
 
    F_PTR padding1;
117
 
    F_PTR padding2;
 
115
    F_PTR padding1[3];   /* pad to match size of modern driver struct */
 
116
    int padding2[4];     /* more pad */
 
117
    F_PTR padding3[2];   /* even more padding */
118
118
} DriverEntry;
119
119
 
120
120