Changeset aa85487 in mainline for uspace/lib/libpci/pci.h


Ignore:
Timestamp:
2010-03-07T15:11:56Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aadf01e
Parents:
2e99277 (diff), 137691a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes, revision 308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libpci/pci.h

    r2e99277 raa85487  
    4040
    4141        /* Functions you can override: */
    42         void (*error) (char *msg, ...); /* Write error message and quit */
    43         void (*warning) (char *msg, ...);       /* Write a warning message */
    44         void (*debug) (char *msg, ...); /* Write a debugging message */
     42        void (*error) (const char *msg, ...);   /* Write error message and quit */
     43        void (*warning) (const char *msg, ...); /* Write a warning message */
     44        void (*debug) (const char *msg, ...);   /* Write a debugging message */
    4545
    4646        struct pci_dev *devices;        /* Devices found on this bus */
     
    128128 */
    129129
    130 char *pci_lookup_name(struct pci_access *a, char *buf, int size, int flags,
    131                       ...);
     130const char *pci_lookup_name(struct pci_access *a, char *buf, int size,
     131    int flags, ...);
    132132
    133133int pci_load_name_list(struct pci_access *a);   /* Called automatically by pci_lookup_*() when needed; returns success */
Note: See TracChangeset for help on using the changeset viewer.