X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/ea9655907d37782a2a505caee22f2458058784ee..716dc53086e5b9494038a22f4b6eb776d9b03d0d:/src/misc.h diff --git a/src/misc.h b/src/misc.h index 5e5947a..839908e 100644 --- a/src/misc.h +++ b/src/misc.h @@ -11,7 +11,7 @@ #define MAX(a,b) (((a)>(b))?(a):(b)) #ifndef NDEBUG -# define _lbx_dbgprint(str) (fprintf(stderr, str " [%s, %s:%d]", \ +# define _lbx_dbgprint(str) (fprintf(stderr, str " [%s, %s:%d]\n", \ __func__, __FILE__, __LINE__)) # define _lbx_assert(expr) ((!(expr)) \ ? (_lbx_dbgprint("format assertion failed: " #expr), 0) \ @@ -21,11 +21,4 @@ # define _lbx_assert(expr) ((expr) ? 1 : 0) #endif -/** _lbx_fseek() - * Seeks the specified file to the specified offset, given that the file is - * currently positioned at *current. If the file does not support seeking, - * and offset > *current, perform the seek by reading (and discarding) data. - */ -int _lbx_fseek(FILE *f, long *current, size_t offset); - #endif