From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 13 13:52:29 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D521A1065673 for ; Sat, 13 Mar 2010 13:52:29 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-relay2.uni-muenster.de (ZIVM-RELAY2.UNI-MUENSTER.DE [128.176.192.13]) by mx1.freebsd.org (Postfix) with ESMTP id BB6FA8FC1A for ; Sat, 13 Mar 2010 13:52:28 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,632,1262559600"; d="txt'?scan'208";a="239032581" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay2.uni-muenster.de with ESMTP; 13 Mar 2010 14:52:27 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 406071B07E7; Sat, 13 Mar 2010 14:52:27 +0100 (CET) Date: Sat, 13 Mar 2010 14:52:19 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=+permail-20100313135219f7e55a9d00006340-a_best01+ Cc: Subject: [patch] small fix to stop gcc warning for lib/libstand/assert.c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 13:52:29 -0000 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+--