Changeset 46d4d9f in mainline for uspace/srv/hw/netif/dp8390/dp8390.c


Ignore:
Timestamp:
2010-11-20T17:04:59Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dd5046dd
Parents:
fdbc3ff
Message:

Redefine packet_t to be just a type alias for struct packet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/dp8390.c

    rfdbc3ff r46d4d9f  
    6565 *  @return EINVAL
    6666 */
    67 int queue_packet(dpeth_t * dep, packet_t packet);
     67int queue_packet(dpeth_t * dep, packet_t *packet);
    6868
    6969/** Reads a memory block byte by byte.
     
    336336}
    337337
    338 int queue_packet(dpeth_t * dep, packet_t packet){
    339         packet_t tmp;
     338int queue_packet(dpeth_t * dep, packet_t *packet){
     339        packet_t *tmp;
    340340
    341341        if(dep->packet_count >= MAX_PACKETS){
     
    361361 *                      based on        do_vwrite                                    *
    362362 *===========================================================================*/
    363 int do_pwrite(dpeth_t * dep, packet_t packet, int from_int)
     363int do_pwrite(dpeth_t * dep, packet_t *packet, int from_int)
    364364{
    365365//      int port, count, size;
     
    910910dpeth_t *dep;
    911911{
    912         packet_t packet;
     912        packet_t *packet;
    913913
    914914//      if (!(dep->de_flags &DEF_SEND_AVAIL))
     
    10031003{
    10041004        int last, count;
    1005         packet_t packet;
     1005        packet_t *packet;
    10061006
    10071007//      if (!(dep->de_flags &DEF_READING))
Note: See TracChangeset for help on using the changeset viewer.