Ignore:
Timestamp:
Apr 3, 2017, 4:51:56 PM (8 years ago)
Author:
David Azarewicz
Message:

Merged/reintegrated v2 branch into trunk. Trunk is now v2

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/include/sound/info.h

    r587 r598  
    5252        int (*release)(struct snd_info_entry *entry,
    5353                       unsigned short mode, void *file_private_data);
    54         long (*read)(struct snd_info_entry *entry, void *file_private_data,
    55                      struct file *file, char __user *buf,
    56                      unsigned long count, unsigned long pos);
    57         long (*write)(struct snd_info_entry *entry, void *file_private_data,
    58                       struct file *file, const char __user *buf,
    59                       unsigned long count, unsigned long pos);
    60         long long (*llseek)(struct snd_info_entry *entry,
    61                             void *file_private_data, struct file *file,
    62                             long long offset, int orig);
    63         unsigned int(*poll)(struct snd_info_entry *entry,
    64                             void *file_private_data, struct file *file,
    65                             poll_table *wait);
     54        ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data,
     55                        struct file *file, char __user *buf,
     56                        size_t count, loff_t pos);
     57        ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data,
     58                        struct file *file, const char __user *buf,
     59                         size_t count, loff_t pos);
     60        loff_t (*llseek)(struct snd_info_entry *entry,
     61                         void *file_private_data, struct file *file,
     62                         loff_t offset, int orig);
     63        unsigned int (*poll)(struct snd_info_entry *entry,
     64                             void *file_private_data, struct file *file,
     65                             poll_table *wait);
    6666        int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
    6767                     struct file *file, unsigned int cmd, unsigned long arg);
     
    111111#endif
    112112
    113 int snd_iprintf(struct snd_info_buffer *buffer, char *fmt, ...) \
     113#ifndef TARGET_OS2
     114int snd_iprintf(struct snd_info_buffer *buffer, const char *fmt, ...) \
    114115                                __attribute__ ((format (printf, 2, 3)));
     116#else
     117int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...);
     118#endif
    115119int snd_info_init(void);
    116120int snd_info_done(void);
    117121
    118122int snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len);
    119 char *snd_info_get_str(char *dest, char *src, int len);
     123const char *snd_info_get_str(char *dest, const char *src, int len);
    120124struct snd_info_entry *snd_info_create_module_entry(struct module *module,
    121125                                               const char *name,
Note: See TracChangeset for help on using the changeset viewer.