Browse Source

use standard type uint32_t, instead of BSD-specific u_int32_t

tell user to get it through stdint.h (note old sys/types.h still works,
for now).
okay millert@, jmc@
OPENBSD_3_9
espie 18 years ago
parent
commit
f6c1fd6bee
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/include/ohash.h

+ 3
- 3
src/include/ohash.h View File

@ -1,6 +1,6 @@
#ifndef OHASH_H
#define OHASH_H
/* $OpenBSD: ohash.h,v 1.8 2005/12/29 18:54:47 jaredy Exp $ */
/* $OpenBSD: ohash.h,v 1.9 2006/01/16 15:52:25 espie Exp $ */
/* ex:ts=8 sw=4:
*/
@ -53,9 +53,9 @@ void ohash_init(struct ohash *, unsigned, struct ohash_info *);
void ohash_delete(struct ohash *);
unsigned int ohash_lookup_interval(struct ohash *, const char *,
const char *, u_int32_t);
const char *, uint32_t);
unsigned int ohash_lookup_memory(struct ohash *, const char *,
size_t, u_int32_t)
size_t, uint32_t)
__attribute__ ((__bounded__(__string__,2,3)));
void *ohash_find(struct ohash *, unsigned int);
void *ohash_remove(struct ohash *, unsigned int);


Loading…
Cancel
Save