Ticket #61682: explicit_declarations.diff

File explicit_declarations.diff, 1.7 KB (added by RichieB2B (Richie B2B), 4 years ago)
  • interface/common_interface.c

    diff -r -u cdparanoia-III-10.2/interface/common_interface.c cdparanoia-III-10.2-fixed/interface/common_interface.c
    old new  
    1515#include <fcntl.h>
    1616#include <sys/syslimits.h>
    1717#include <stdio.h>
     18#include "smallft.h"
    1819
    1920#ifdef __APPLE__
    2021#include "cdda_interface.h"
     
    2425#include <linux/hdreg.h>
    2526
    2627#include "utils.h"
    27 #include "smallft.h"
    2828
    2929/* Test for presence of a cdrom by pinging with the 'CDROMVOLREAD' ioctl() */
    3030/* Also test using CDROM_GET_CAPABILITY (if available) as some newer DVDROMs will
  • interface/interface.c

    diff -r -u cdparanoia-III-10.2/interface/interface.c cdparanoia-III-10.2-fixed/interface/interface.c
    old new  
    1111
    1212#ifndef __APPLE__
    1313#include "low_interface.h"
     14#else
     15#include "osx_interface.h"
    1416#endif
    1517#include "common_interface.h"
    1618#include "utils.h"
  • interface/osx_interface.h

    diff -r -u cdparanoia-III-10.2/interface/osx_interface.h cdparanoia-III-10.2-fixed/interface/osx_interface.h
    old new  
    1414#include <IOKit/storage/IOMedia.h>
    1515#include <IOKit/storage/IOCDMedia.h>
    1616#include <IOKit/storage/IOCDMediaBSDClient.h>
     17#include "cdda_interface.h"
    1718
    1819char *osx_bsd_device_for_media(io_object_t media);
    1920int osx_enumerate_devices(cdrom_drive *d,