Changeset a000878c in mainline for uspace/lib/libpci/access.c


Ignore:
Timestamp:
2010-02-25T19:11:25Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
958de16
Parents:
a634485
Message:

make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libpci/access.c

    ra634485 ra000878c  
    5151}
    5252
    53 static void pci_generic_error(char *msg, ...)
     53static void pci_generic_error(const char *msg, ...)
    5454{
    5555        va_list args;
     
    6262}
    6363
    64 static void pci_generic_warn(char *msg, ...)
     64static void pci_generic_warn(const char *msg, ...)
    6565{
    6666        va_list args;
     
    7272}
    7373
    74 static void pci_generic_debug(char *msg, ...)
     74static void pci_generic_debug(const char *msg, ...)
    7575{
    7676        va_list args;
     
    8181}
    8282
    83 static void pci_null_debug(char *msg UNUSED, ...)
     83static void pci_null_debug(const char *msg UNUSED, ...)
    8484{
    8585}
Note: See TracChangeset for help on using the changeset viewer.