=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/inttypes.h,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/include/inttypes.h 2006/01/06 18:54:25 1.6 --- src/include/inttypes.h 2006/01/13 17:58:09 1.7 *************** *** 1,4 **** ! /* $OpenBSD: inttypes.h,v 1.6 2006/01/06 18:54:25 millert Exp $ */ /* * Copyright (c) 1997, 2005 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: inttypes.h,v 1.7 2006/01/13 17:58:09 millert Exp $ */ /* * Copyright (c) 1997, 2005 Todd C. Miller *************** *** 286,291 **** #endif /* __cplusplus || __STDC_FORMAT_MACROS */ ! /* XXX - need to add imax/umax functions */ #endif /* _INTTYPES_H_ */ --- 286,301 ---- #endif /* __cplusplus || __STDC_FORMAT_MACROS */ ! typedef struct { ! intmax_t quot; /* quotient */ ! intmax_t rem; /* remainder */ ! } imaxdiv_t; ! ! __BEGIN_DECLS ! intmax_t imaxabs(intmax_t); ! imaxdiv_t imaxdiv(intmax_t, intmax_t); ! intmax_t strtoimax(const char *, char **, int); ! uintmax_t strtoumax(const char *, char **, int); ! __END_DECLS #endif /* _INTTYPES_H_ */