diff options
author | grant <grant@pkgsrc.org> | 2003-06-24 06:22:23 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-06-24 06:22:23 +0000 |
commit | 47276e6a4b2031af1a3bb77aeece4fce147b2788 (patch) | |
tree | cacc68177928b6f937221339470e51b7faa1c3d5 /pkgtools/libnbcompat | |
parent | 505784d6c9c9c7062a2804d26524aba9325ccca0 (diff) | |
download | pkgsrc-47276e6a4b2031af1a3bb77aeece4fce147b2788.tar.gz |
add prototype for isblank() to avoid implicit declaration
add RCS Id
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r-- | pkgtools/libnbcompat/files/isblank.c | 4 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/pkgtools/libnbcompat/files/isblank.c b/pkgtools/libnbcompat/files/isblank.c index 9fcb724d031..bd02e455dca 100644 --- a/pkgtools/libnbcompat/files/isblank.c +++ b/pkgtools/libnbcompat/files/isblank.c @@ -1,3 +1,7 @@ +/* $NetBSD */ + +#include "nbcompat.h" + int isblank(c) int c; diff --git a/pkgtools/libnbcompat/files/nbcompat.h b/pkgtools/libnbcompat/files/nbcompat.h index d3ce0d66aba..f27ac643a6c 100644 --- a/pkgtools/libnbcompat/files/nbcompat.h +++ b/pkgtools/libnbcompat/files/nbcompat.h @@ -229,6 +229,10 @@ extern int h_errno; int fclose(FILE *); #endif +#if ! HAVE_ISBLANK +int isblank(int); +#endif + #if ! HAVE_GETPASS_D char *getpass(const char *); #endif |