<commit_before>/**
 * @file
 * @brief Stubs for e2fsprogs
 *
 * @author  <NAME>
 * @date    30.06.2013
 */

#ifndef E2FSPROGS_EMBOX_COMPAT_H_
#define E2FSPROGS_EMBOX_COMPAT_H_

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <grp.h>
#include <stdlib.h>
#include <stdint.h>

#ifdef linux
#undef linux
#endif

#ifdef __linux__
#undef __linux__
#endif

#define EOVERFLOW 1
#define EMBOX

#define MAP_PRIVATE   0x01
#define MAP_SHARED    0x00
#define PROT_READ     0x10
#define PROT_WRITE    0x20


#define O_ACCMODE       00000003
#define FD_CLOEXEC	(printf(">>> FC_CLOEXEC\n"),0)
#define OPEN_MAX      64

#include <linux/types.h>
typedef __u16 u_int16_t;
typedef __u32 u_int32_t;
typedef __u64 u_int64_t;


<commit_msg>e2fsprogs: Get rid from some part of linux specific types<commit_after>/**
 * @file
 * @brief Stubs for e2fsprogs
 *
 * @author  <NAME>
 * @date    30.06.2013
 */

#ifndef E2FSPROGS_EMBOX_COMPAT_H_
#define E2FSPROGS_EMBOX_COMPAT_H_

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <grp.h>
#include <stdlib.h>
#include <stdint.h>

#ifdef linux
#undef linux
#endif

#ifdef __linux__
#undef __linux__
#endif

#define EOVERFLOW 1
#define EMBOX

#define MAP_PRIVATE   0x01
#define MAP_SHARED    0x00
#define PROT_READ     0x10
#define PROT_WRITE    0x20


#define O_ACCMODE       00000003
#define FD_CLOEXEC	(printf(">>> FC_CLOEXEC\n"),0)
#define OPEN_MAX      64

#include <stdint.h>
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
typedef unsigned int uint;



{'fraction_non_alphanumeric': 0.10930668332292318, 'fraction_numerical': 0.05933791380387258, 'mean_word_length': 4.393939393939394, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '362816', 'n_tokens_mistral': 754, 'n_tokens_neox': 677, 'n_words': 165}