#include limits.h where we use it, and don't where we don't
This commit is contained in:
parent
dd7bdeb5b3
commit
28fe36f1f8
|
@ -10,6 +10,7 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <stddef.h>
|
||||
#include <stdio.h> /* sscanf () */
|
||||
#include <stdlib.h> /* abort () */
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <libtransmission/transmission.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*/
|
||||
|
||||
#include <ctype.h> /* isspace */
|
||||
#include <limits.h> /* USHRT_MAX */
|
||||
#include <limits.h> /* USHRT_MAX, INT_MAX */
|
||||
#include <unistd.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <ctype.h> /* isxdigit () */
|
||||
#include <errno.h>
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <stdarg.h>
|
||||
#include <string.h> /* strchr (), strrchr (), strlen (), strstr () */
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
#include <string.h> /* memset () */
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <inttypes.h> /* uint8_t */
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h> /* abs () */
|
||||
#include <string.h> /* memcpy (), memset (), strcmp () */
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include "jsonsl.h"
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef JSONSL_USE_METRICS
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <string.h> /* memcpy */
|
||||
#include <limits.h> /* INT_MAX */
|
||||
|
||||
#include <unistd.h> /* close */
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <errno.h> /* ENOENT */
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <stdlib.h>
|
||||
#include <string.h> /* memcpy */
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <string.h> /* memcmp */
|
||||
#include <stdlib.h> /* qsort */
|
||||
#include <limits.h> /* INT_MAX */
|
||||
|
||||
#include <event2/util.h> /* evutil_vsnprintf () */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <limits.h> /* INT_MAX */
|
||||
#include <math.h> /* sqrt () */
|
||||
#include <string.h> /* strlen () */
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <climits> /* INT_MAX */
|
||||
#include <ctime>
|
||||
|
||||
#include <QCheckBox>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <climits> /* INT_MAX */
|
||||
#include <iostream>
|
||||
|
||||
#include <QCheckBox>
|
||||
|
|
Loading…
Reference in New Issue