Date: Sat, 13 Mar 2010 14:52:19 +0100 (CET) From: Alexander Best <alexbestms@wwu.de> To: <freebsd-hackers@FreeBSD.org> Subject: [patch] small fix to stop gcc warning for lib/libstand/assert.c Message-ID: <permail-20100313135219f7e55a9d00006340-a_best01@message-id.uni-muenster.de>
next in thread | raw e-mail | index | archive | help
This is a MIME encoded multipart message. --+permail-20100313135219f7e55a9d00006340-a_best01+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, this patch fixes the following gcc warning: /usr/src/lib/libstand/assert.c:43: warning: implicit declaration of function 'exit' by using abort() instead of exit() (which is illegal anyway). looking at lib/libc/gen/assert.c abort() seems save to use instead of exit(). cheers. alex --+permail-20100313135219f7e55a9d00006340-a_best01+ Content-Type: text/plain Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename="libstand.patch.txt" SW5kZXg6IGxpYi9saWJzdGFuZC9hc3NlcnQuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaWIvbGlic3RhbmQv YXNzZXJ0LmMJKHJldmlzaW9uIDIwNTEyMSkKKysrIGxpYi9saWJzdGFuZC9hc3NlcnQuYwkod29y a2luZyBjb3B5KQpAQCAtNDAsNSArNDAsNSBAQAogCWVsc2UKIAkJcHJpbnRmKCJBc3NlcnRpb24g ZmFpbGVkOiAoJXMpLCBmdW5jdGlvbiAlcywgZmlsZSAlcywgbGluZSAiCiAJCSAgICAiJWQuXG4i LCBleHByZXNzaW9uLCBmdW5jLCBmaWxlLCBsaW5lKTsKLQlleGl0KCk7CisJYWJvcnQoKTsKIH0K SW5kZXg6IGxpYi9saWJzdGFuZC9zdGFuZC5oCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxpYi9saWJzdGFuZC9z dGFuZC5oCShyZXZpc2lvbiAyMDUxMjEpCisrKyBsaWIvbGlic3RhbmQvc3RhbmQuaAkod29ya2lu ZyBjb3B5KQpAQCAtMjY1LDYgKzI2NSw3IEBACiBleHRlcm4gY2hhcgkqb3B0YXJnOwkJCS8qIGdl dG9wdCgzKSBleHRlcm5hbCB2YXJpYWJsZXMgKi8KIGV4dGVybiBpbnQJb3B0aW5kLCBvcHRlcnIs IG9wdG9wdCwgb3B0cmVzZXQ7CiBleHRlcm4gaW50CWdldG9wdChpbnQsIGNoYXIgKiBjb25zdCBb XSwgY29uc3QgY2hhciAqKTsKK2V4dGVybiB2b2lkCWFib3J0KHZvaWQpOwogCiAvKiBwYWdlci5j ICovCiBleHRlcm4gdm9pZAlwYWdlcl9vcGVuKHZvaWQpOwo= --+permail-20100313135219f7e55a9d00006340-a_best01+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20100313135219f7e55a9d00006340-a_best01>