Changeset 0ca2c9d in freewrt


Ignore:
Timestamp:
May 10, 2007, 4:55:43 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
68af79a
Parents:
0581d06
Message:

coerce this into compiling into a demo app

git-svn-id: svn://www.freewrt.org/branches/common-adk@2476 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
tools
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • tools/Makefile

    r0581d06 r0ca2c9d  
    2929TARGETS+=       mkpasswd
    3030endif
     31TARGETS+=       nfotiser
    3132TARGETS+=       squashfs
    3233
  • tools/nfotiser/extern.h

    r0581d06 r0ca2c9d  
    2424extern const char dbscheme[];
    2525
     26EXTERN int debug I__(0);
     27EXTERN sqlite3 *db I__(NULL);
     28
     29/* dbif.c */
     30void dberr(int, const char *, ...)
     31    __attribute__((format (printf, 2, 3)))
     32    __attribute__((noreturn));
     33#define dbexecv(cb, cbarg, sqlfmt, ...) dbexecv_(__FILE__, __LINE__, \
     34            __func__, (cb), (cbarg), (sqlfmt), __VA_ARGS__)
     35int dbexecv_(const char *, unsigned, const char *, sqlite3_callback,
     36    void *, const char *, ...)
     37    __attribute__((nonnull (6)))
     38    __attribute__((format (printf, 6, 7)));
     39
    2640#ifdef __GLIBC__
    2741/* fgetln.c */
Note: See TracChangeset for help on using the changeset viewer.