IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 1:52:54 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API:

add noreturn attribute
remove unneeded 'name' params
turn into a macro so file/line/func are automatiically passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.c

    r11668 r11686  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.134 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2007-02-06 21:36:09 $
     14 *  @version $Revision: 1.135 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2007-02-07 23:52:53 $
    1616 *
    1717 *  Copyright (C) 2005-2006  Joshua Hoblitt, University of Hawaii
     
    141141    mysql = mysql_init(NULL);
    142142    if (!mysql) {
    143         psAbort(__func__, "mysql_init(), out of memory.");
     143        psAbort("mysql_init(), out of memory.");
    144144    }
    145145
     
    856856    MYSQL_STMT *stmt = mysql_stmt_init(dbh->mysql);
    857857    if (!stmt) {
    858         psAbort(__func__, "mysql_stmt_init(), out of memory.");
     858        psAbort("mysql_stmt_init(), out of memory.");
    859859    }
    860860    if (mysql_stmt_prepare(stmt, query, (unsigned long)strlen(query))) {
Note: See TracChangeset for help on using the changeset viewer.