ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_db.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/conf_db.c (file contents):
Revision 1626 by michael, Thu Nov 1 17:21:59 2012 UTC vs.
Revision 1627 by michael, Thu Nov 1 17:42:19 2012 UTC

# Line 343 | Line 343 | close_db(struct dbFILE *f)
343   * \return -1 on error, 0 otherwise.
344   */
345   int
346 < read_uint8(unsigned char *ret, struct dbFILE *f)
346 > read_uint8(uint8_t*ret, struct dbFILE *f)
347   {
348    int c = fgetc(f->fp);
349  
# Line 361 | Line 361 | read_uint8(unsigned char *ret, struct db
361   * \return -1 on error, 0 otherwise.
362   */
363   int
364 < write_uint8(unsigned char val, struct dbFILE *f)
364 > write_uint8(uint8_t val, struct dbFILE *f)
365   {
366    if (fputc(val, f->fp) == EOF)
367      return -1;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)