From 108b116d4765a1a177a25ceda13b88ea9bfa3ab3 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Thu, 4 Jul 2002 11:07:48 +0000 Subject: [PATCH] Convince lint via the standard lint-comment /* LONGLONG */ to not whine about our (valid) "long long" usage. --- include/stdlib.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/stdlib.h b/include/stdlib.h index cba878afcd0c..d41ccc8d2a97 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -70,6 +70,7 @@ typedef struct { #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) #ifdef __LONG_LONG_SUPPORTED +/* LONGLONG */ typedef struct { long long quot; long long rem; @@ -148,6 +149,7 @@ __uint32_t void arc4random_addrandom(unsigned char *dat, int datlen); void arc4random_stir(void); #ifdef __LONG_LONG_SUPPORTED +/* LONGLONG */ long long atoll(const char *); #endif @@ -172,6 +174,7 @@ __const char * int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); char *initstate(unsigned long, char *, long); #ifdef __LONG_LONG_SUPPORTED +/* LONGLONG */ long long llabs(long long) __pure2; lldiv_t lldiv(long long, long long) __pure2; @@ -191,11 +194,13 @@ void sranddev(void); void srandom(unsigned long); void srandomdev(void); #ifdef __LONG_LONG_SUPPORTED +/* LONGLONG */ long long strtoll(const char *, char **, int); #endif __int64_t strtoq(const char *, char **, int); #ifdef __LONG_LONG_SUPPORTED +/* LONGLONG */ unsigned long long strtoull(const char *, char **, int); #endif