* getloadavg.c: Sync with Emacs and then change to conform to GNU coding style.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Aug 2003 20:22:52 +0000 (20:22 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Aug 2003 20:22:52 +0000 (20:22 +0000)
lib/ChangeLog

index 66c575c..b85ad3b 100644 (file)
@@ -1,3 +1,19 @@
+2003-08-04  Paul Eggert  <eggert@twinsun.com>
+
+       * getloadavg.c: Change copyright notice and spacing to conform to
+       GNU coding style.
+
+2003-08-04  Dave Love <d.love@dl.ac.uk>
+
+       [From Emacs.]
+
+       * getloadavg.c: Check `__unix' as well as `unix'.  Use #ifdef, not
+       #if.  Check HAVE_LIBKSTAT as well as LOAD_AVE_TYPE.  Check
+       F_SETFD, not FD_SETFD.  Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not
+       obsolete NLIST_NAME_UNION.
+       [__GNU__]: Undef BSD and FSCALE.
+       [!NLIST_STRUCT]: Remove conditional definition of NLIST_STRUCT.
+
 2003-08-03  Paul Eggert  <eggert@twinsun.com>
 
        * stdbool_.h (_Bool): Make it signed char, instead of