View | Details | Raw Unified
Collapse All | Expand All

(-) util/nvs/nvs.c-orig (+126 lines)
 Lines 19-24    Link Here 
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "dialog.h"
#include "dialog.h"
static void back_lines (int n);
static void back_lines (int n);
 Lines 17-22    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
/* #define VERBOSE */
/* #define VERBOSE */
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_HW_PARAMS_API
/* #define ALSA_PCM_NEW_SW_PARAMS_API */
/* #define ALSA_PCM_NEW_SW_PARAMS_API */
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include "booter.h"
#include "booter.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#ifndef _H_SCSI_MAIN
#ifndef _H_SCSI_MAIN
#define _H_SCSI_MAIN
#define _H_SCSI_MAIN
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
/* #define VERBOSE  */
/* #define VERBOSE  */
 Lines 20-25    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <pthread.h>
#include <pthread.h>
  
  
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/param.h>
#include <sys/param.h>
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#ifndef _H_SWIM_HW
#ifndef _H_SWIM_HW
#define _H_SWIM_HW
#define _H_SWIM_HW
 Lines 15-20    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include "promif.h"
#include "promif.h"
#include "booter.h"
#include "booter.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/uio.h>
#include <sys/uio.h>
#include <sys/resource.h>
#include <sys/resource.h>
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/ioctl.h>
#include <sys/ioctl.h>
 Lines 15-20    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/time.h>
#include <sys/time.h>
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/uio.h>
#include <sys/uio.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/stat.h>
#include <sys/stat.h>
#include "pseudofs.h"
#include "pseudofs.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/mman.h>
#include <sys/mman.h>
#include <sys/file.h>
#include <sys/file.h>
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/param.h>
#include <sys/param.h>
#include "booter.h"
#include "booter.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/param.h>
#include <sys/param.h>
#include <stdarg.h>
#include <stdarg.h>
 Lines 13-18    Link Here 
 *   as published by the Free Software Foundation
 *   as published by the Free Software Foundation
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/mman.h>
#include <sys/mman.h>
#include "debugger.h"
#include "debugger.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include "session.h"
#include "session.h"
#include "verbose.h"
#include "verbose.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#ifndef _H_LONG_LSEEK
#ifndef _H_LONG_LSEEK
#define _H_LONG_LSEEK
#define _H_LONG_LSEEK
 Lines 20-25    Link Here 
 *    Modifications for 2.3.99-pre5 kernel.
 *    Modifications for 2.3.99-pre5 kernel.
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#define TUN_VER "1.5"
#define TUN_VER "1.5"
#include <linux/config.h>
#include <linux/config.h>
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/file.h>
 Lines 29-34    Link Here 
   (at your option) any later version.
   (at your option) any later version.
*/
*/
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include "elfload.h"
#include "elfload.h"
#include "byteorder.h"
#include "byteorder.h"
 Lines 14-19    Link Here 
 *   
 *   
 */
 */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#define DUMPVARS
#define DUMPVARS
#include "mol_config.h"
#include "mol_config.h"
#include <stddef.h>
#include <stddef.h>
 Lines 1-5    Link Here 
/* Modified version of nvsetenv */
/* Modified version of nvsetenv */
#ifdef __linux__
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES
#endif
#include "mol_config.h"
#include "mol_config.h"
#include <stdio.h>
#include <stdio.h>
#include <fcntl.h>
#include <fcntl.h>