Skip to content

Commit

Permalink
Remove #undefs for formerly forbidden system functions
Browse files Browse the repository at this point in the history
The macros forbidding the system functions no longer exist, obviating
the need for the #undefs.
  • Loading branch information
DonDiego committed Nov 6, 2013
1 parent cffecc0 commit 86f9108
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions compat/getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ static int optind = 1;
static int optopt;
static char *optarg;

#undef fprintf

static int getopt(int argc, char *argv[], char *opts)
{
static int sp = 1;
Expand Down
2 changes: 0 additions & 2 deletions libavcodec/dct-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
#include "x86/idct_xvid.h"
#include "dctref.h"

#undef printf

// BFIN
void ff_bfin_idct(int16_t *block);
void ff_bfin_fdct(int16_t *block);
Expand Down
2 changes: 0 additions & 2 deletions libavcodec/dvbsubdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
#define cm (ff_cropTbl + MAX_NEG_CROP)

#ifdef DEBUG
#undef fprintf
#undef perror
#if 0
static void png_save(const char *filename, uint8_t *bitmap, int w, int h,
uint32_t *rgba_palette)
Expand Down
3 changes: 0 additions & 3 deletions libavcodec/dvdsubdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,6 @@ static int find_smallest_bounding_rectangle(AVSubtitle *s)
}

#ifdef DEBUG
#undef fprintf
#undef perror
#undef exit
static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h,
uint32_t *rgba_palette)
{
Expand Down

0 comments on commit 86f9108

Please sign in to comment.