summaryrefslogtreecommitdiff
path: root/libexec/ld.so/util.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 20:04:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 20:04:01 +0000
commitfb77cb0f007d25ab8a99b64eb77a2c87f0f2716b (patch)
tree1ca0d8d9ec13024a0568af5622c3aad9598e5f3f /libexec/ld.so/util.h
parentb3bbcf5fcb95fdeddc3df57ff9537e59f900a405 (diff)
various proto, ansi, and knf repair. tested on all architectures that
use it. (build may require make cleandir because of .depend balony)
Diffstat (limited to 'libexec/ld.so/util.h')
-rw-r--r--libexec/ld.so/util.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libexec/ld.so/util.h b/libexec/ld.so/util.h
index 65fa4177afc..6a027480919 100644
--- a/libexec/ld.so/util.h
+++ b/libexec/ld.so/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.15 2003/06/11 17:47:57 deraadt Exp $ */
+/* $OpenBSD: util.h,v 1.16 2003/07/06 20:03:58 deraadt Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -30,13 +30,22 @@
#ifndef __DL_UTIL_H__
#define __DL_UTIL_H__
+
+#include <stdarg.h>
+
void *_dl_malloc(const size_t size);
void _dl_free(void *);
char *_dl_strdup(const char *);
void _dl_printf(const char *fmt, ...);
+void _dl_vprintf(const char *fmt, va_list ap);
void _dl_fdprintf(int, const char *fmt, ...);
void _dl_show_objects(void);
unsigned int _dl_random(void);
+ssize_t _dl_write(int fd, const char* buf, size_t len);
+
+void _dl_bcopy(const void *src, void *dest, int size);
+
+long _dl_strtol(const char *nptr, char **endptr, int base);
/*
* The following functions are declared inline so they can