summaryrefslogtreecommitdiff
path: root/include/nlist.h
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-02-23 11:07:30 +0100
committerGuillem Jover <guillem@hadrons.org>2011-05-14 13:52:52 +0200
commitf7caf2b30da93d46528ec706dffaf5cbde5266d9 (patch)
tree4a092cde83478be26cb9d8c2c5cb71ee429e9090 /include/nlist.h
parent520682e59647eadf697e6384021e6781164b11b0 (diff)
downloadlibbsd-f7caf2b30da93d46528ec706dffaf5cbde5266d9.tar.gz
Move all header files to /usr/include/bsd/ and deprecate /usr/include/
First stage of the transition to avoid possible clashes with other software by moving out of the way the remaining headers from /usr/include/. At least nlist.h is known to cause file conflicts with some libelf implementations. libutil.h is not really complete and might cause confusion if software detects its availability w/o someone actually checking. And lastly vis.h is not known to cause any problem and it's complete, but better be safe than sorry. The compatibility headers will be removed in a later release.
Diffstat (limited to 'include/nlist.h')
-rw-r--r--include/nlist.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/nlist.h b/include/nlist.h
index 84fbc33..61be513 100644
--- a/include/nlist.h
+++ b/include/nlist.h
@@ -1,5 +1,5 @@
/*
- * Copyright © 2009 Guillem Jover
+ * Copyright © 2011 Guillem Jover
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,12 +27,8 @@
#ifndef LIBBSD_NLIST_H
#define LIBBSD_NLIST_H
-#include <sys/cdefs.h>
-#include <a.out.h>
+#warning "This header is deprecated, use the one in bsd/nlist.h instead."
-__BEGIN_DECLS
-extern int nlist(const char *filename, struct nlist *list);
-__END_DECLS
+#include <bsd/nlist.h>
#endif
-