Skip to content

Commit

Permalink
sync compat/
Browse files Browse the repository at this point in the history
  • Loading branch information
brynet committed Jul 23, 2016
1 parent 46aa8d5 commit d52d342
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion compat/reallocarray.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: reallocarray.c,v 1.2 2014/12/08 03:45:00 bcook Exp $ */
/* $OpenBSD: reallocarray.c,v 1.3 2015/09/13 08:31:47 guenther Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <[email protected]>
*
Expand Down Expand Up @@ -38,3 +38,4 @@ reallocarray(void *optr, size_t nmemb, size_t size)
}
return realloc(optr, size * nmemb);
}
DEF_WEAK(reallocarray);
2 changes: 1 addition & 1 deletion magic.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#ifndef __unused
#define __unused
#endif
#define DEF_WEAK(x)
#define DEF_WEAK(_x)

#ifndef HAVE_FGETLN
char *fgetln(FILE *_fp, size_t *_len);
Expand Down

0 comments on commit d52d342

Please sign in to comment.