david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
Commit Graph

14 Commits

Author SHA1 Message Date
Michael Brown c44a193d0d [legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
2009-05-18 08:33:25 +01:00
Holger Lubitz 8bb295e3fd use malloc attribute 2007-08-20 20:29:58 +02:00
Holger Lubitz 7e1db201b9 strdup and strndup call malloc and are not pure 2007-08-02 03:04:44 +02:00
Holger Lubitz 7e8e4f8abd declare pointers passed to string functions as nonnull 2007-08-02 01:02:06 +02:00
Holger Lubitz 8e3e97fcef set __pure attribute where possible 2007-08-02 00:51:38 +02:00
Michael Brown 7137c20ed1 Add strcspn() and strndup() 2007-07-08 22:03:12 +01:00
Michael Brown afe4e011ac Move tolower() etc to ctype.h as per ISO C 2007-01-26 03:25:19 +00:00
Michael Brown 1a0ca661c2 4.3BSD says that bcopy and bzero are defined in strings.h, not string.h 2007-01-19 00:51:13 +00:00
Michael Brown e5f0898f38 Move strerror() prototype to string.h, where it belongs 2006-12-20 03:35:49 +00:00
Michael Brown 496563071d Added strdup() 2006-12-08 00:34:47 +00:00
Michael Brown 82342e0b8f Marked memcmp/strcmp as "pure" functions, to allow gcc to optimise
away code such as

  if ( strcmp ( some_string, "some_value" ) != 0 ) {
     DBG ( "Bad value received!" );
  }
2006-11-27 23:50:24 +00:00
Michael Brown 1d7cfd5acf Prototype now clashes with the macro in arch/i386. 2006-04-24 15:27:58 +00:00
Michael Brown a6057b4cbc Need stddef.h to get size_t 2005-04-17 10:48:56 +00:00
Michael Brown 3d6123e69a Initial revision 2005-03-08 18:53:11 +00:00