Commit 974633b6 authored by Mikhail Karpenko's avatar Mikhail Karpenko
Browse files

Clean up includes

parent 5aea3da4
Loading
Loading
Loading
Loading
+1 −19
Original line number Original line Diff line number Diff line
@@ -102,33 +102,15 @@
   *!  Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
   *!  Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
   *!
   *!
 */
 */
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <linux/limits.h>
#include <linux/fs.h>
#include <linux/fs.h>
//#include <ctype.h>
#include <sys/mman.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>

#include <netinet/in.h> /*little <-> big endian ?*/
#include <sys/mman.h>   /* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>


//#include <c313a.h>
#include <exifa.h>
#include <asm/byteorder.h>

//#include <ogg/ogg.h>    // has to be before ogmstreams.h
//#include "ogmstreams.h"
#include "camogm_ogm.h"
#include "camogm_ogm.h"
#include "camogm_jpeg.h"
#include "camogm_jpeg.h"
#include "camogm_mov.h"
#include "camogm_mov.h"
+0 −17
Original line number Original line Diff line number Diff line
@@ -18,32 +18,15 @@
/** @brief This define is needed to use lseek64 and should be set before includes */
/** @brief This define is needed to use lseek64 and should be set before includes */
#define _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE


//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
//#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/types.h>
//#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
//#include <time.h>
#include <string.h>
#include <string.h>


#include <netinet/in.h> /*little <-> big endian ?*/
//#include <sys/mman.h>   /* mmap */
//#include <sys/ioctl.h>

//#include <c313a.h>
//#include <asm/byteorder.h>

//#include <ogg/ogg.h>    // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?

#include "camogm_jpeg.h"
#include "camogm_jpeg.h"


int camogm_init_jpeg(camogm_state *state)
int camogm_init_jpeg(camogm_state *state)
+0 −20
Original line number Original line Diff line number Diff line
@@ -35,33 +35,13 @@
   *!
   *!
   *!
   *!
 */
 */
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>

#include <netinet/in.h> /*little <-> big endian ?*/
#include <sys/mman.h>   /* mmap */
#include <sys/ioctl.h>

//#include <c313a.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>



//#include <ogg/ogg.h>    // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?

#include "camogm_kml.h"
#include "camogm_kml.h"


const char ExifDirFileName[] = "/dev/exif_metadir";
const char ExifDirFileName[] = "/dev/exif_metadir";
+0 −21
Original line number Original line Diff line number Diff line
@@ -38,32 +38,11 @@
   *!  Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
   *!  Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
   *!
   *!
 */
 */
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>

#include <netinet/in.h> /*little <-> big endian ?*/
#include <sys/mman.h>   /* mmap */
#include <sys/ioctl.h>

//#include <c313a.h>
#include <asm/byteorder.h>


//#include <ogg/ogg.h>    // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?


#include "camogm_mov.h"
#include "camogm_mov.h"


+0 −20
Original line number Original line Diff line number Diff line
@@ -31,31 +31,11 @@
   *!  Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
   *!  Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
   *!
   *!
 */
 */
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>

#include <netinet/in.h> /*little <-> big endian ?*/
#include <sys/mman.h>   /* mmap */
#include <sys/ioctl.h>

//#include <c313a.h>
#include <asm/byteorder.h>

//#include <ogg/ogg.h>    // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?


#include "camogm_ogm.h"
#include "camogm_ogm.h"