upb: remove <stddef.h> and <stdlib.h> from port/def.inc

PiperOrigin-RevId: 559234283
pull/13675/head^2
Eric Salo 2 years ago committed by Copybara-Service
parent 21ecc29ed0
commit eb9e33ec42
  1. 2
      upb/lex/atoi.h
  2. 2
      upb/lex/unicode.h
  3. 2
      upb/mem/arena.h
  4. 2
      upb/mini_descriptor/internal/base92.h
  5. 2
      upb/mini_descriptor/internal/encode.h
  6. 2
      upb/mini_table/internal/enum.h
  7. 2
      upb/mini_table/internal/field.h
  8. 2
      upb/port/def.inc
  9. 2
      upb/wire/internal/swap.h

@ -31,6 +31,8 @@
#ifndef UPB_LEX_ATOI_H_
#define UPB_LEX_ATOI_H_
#include <stdint.h>
// Must be last.
#include "upb/port/def.inc"

@ -31,6 +31,8 @@
#ifndef UPB_LEX_UNICODE_H_
#define UPB_LEX_UNICODE_H_
#include <stdint.h>
// Must be last.
#include "upb/port/def.inc"

@ -43,6 +43,8 @@
#ifndef UPB_MEM_ARENA_H_
#define UPB_MEM_ARENA_H_
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "upb/mem/alloc.h"

@ -31,6 +31,8 @@
#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_BASE92_H_
#define UPB_MINI_DESCRIPTOR_INTERNAL_BASE92_H_
#include <stdint.h>
#include "upb/base/internal/log2.h"
// Must be last.

@ -31,6 +31,8 @@
#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_ENCODE_H_
#define UPB_MINI_DESCRIPTOR_INTERNAL_ENCODE_H_
#include <stdint.h>
#include "upb/base/descriptor_constants.h"
// Must be last.

@ -31,6 +31,8 @@
#ifndef UPB_MINI_TABLE_INTERNAL_ENUM_H_
#define UPB_MINI_TABLE_INTERNAL_ENUM_H_
#include <stdint.h>
// Must be last.
#include "upb/port/def.inc"

@ -31,6 +31,8 @@
#ifndef UPB_MINI_TABLE_INTERNAL_FIELD_H_
#define UPB_MINI_TABLE_INTERNAL_FIELD_H_
#include <stdint.h>
#include "upb/base/descriptor_constants.h"
// Must be last.

@ -68,8 +68,6 @@
#include <assert.h>
#include <setjmp.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#if UINTPTR_MAX == 0xffffffff

@ -31,6 +31,8 @@
#ifndef UPB_WIRE_INTERNAL_SWAP_H_
#define UPB_WIRE_INTERNAL_SWAP_H_
#include <stdint.h>
// Must be last.
#include "upb/port/def.inc"

Loading…
Cancel
Save