From 920746cbb5d18d8aef284d3fe71a57cd52509117 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Nov 2023 12:12:10 -0500 Subject: disable all functions; will strategically reenable them as tested --- src/grp/__grp.c | 5 +++++ src/grp/endgrent.c | 5 +++++ src/grp/getgrent.c | 5 +++++ src/grp/getgrgid.c | 5 +++++ src/grp/getgrnam.c | 5 +++++ src/grp/setgrent.c | 5 +++++ src/grp/struct_group.c | 5 +++++ 7 files changed, 35 insertions(+) (limited to 'src/grp') diff --git a/src/grp/__grp.c b/src/grp/__grp.c index 60ddc157..6ac139f1 100644 --- a/src/grp/__grp.c +++ b/src/grp/__grp.c @@ -1,3 +1,5 @@ +#if 0 + #include "_grp.h" #ifndef _XOPEN_SOURCE @@ -17,3 +19,6 @@ struct __grp __grp = /* POSIX(1) */ + + +#endif diff --git a/src/grp/endgrent.c b/src/grp/endgrent.c index c4cb3871..6869ed1f 100644 --- a/src/grp/endgrent.c +++ b/src/grp/endgrent.c @@ -1,3 +1,5 @@ +#if 0 + #include #include #include "_grp.h" @@ -13,3 +15,6 @@ void endgrent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/grp/getgrent.c b/src/grp/getgrent.c index 84dd57bb..5b455ae7 100644 --- a/src/grp/getgrent.c +++ b/src/grp/getgrent.c @@ -1,3 +1,5 @@ +#if 0 + #if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 2)) #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 2 @@ -87,3 +89,6 @@ struct group * getgrent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/grp/getgrgid.c b/src/grp/getgrgid.c index 64081f64..3b745f97 100644 --- a/src/grp/getgrgid.c +++ b/src/grp/getgrgid.c @@ -1,3 +1,5 @@ +#if 0 + #include #include #include "_grp.h" @@ -21,3 +23,6 @@ struct group * getgrgid(gid_t gid) /* POSIX(1) */ + + +#endif diff --git a/src/grp/getgrnam.c b/src/grp/getgrnam.c index 0ee23bf6..dfa0d5e7 100644 --- a/src/grp/getgrnam.c +++ b/src/grp/getgrnam.c @@ -1,3 +1,5 @@ +#if 0 + #include #include #include @@ -22,3 +24,6 @@ struct group * getgrnam(const char * name) /* POSIX(1) */ + + +#endif diff --git a/src/grp/setgrent.c b/src/grp/setgrent.c index 884c1c5c..13c20a1f 100644 --- a/src/grp/setgrent.c +++ b/src/grp/setgrent.c @@ -1,3 +1,5 @@ +#if 0 + #include #include #include "_grp.h" @@ -12,3 +14,6 @@ void setgrent(void) /* XOPEN(400) */ + + +#endif diff --git a/src/grp/struct_group.c b/src/grp/struct_group.c index e1f8c376..b1abb325 100644 --- a/src/grp/struct_group.c +++ b/src/grp/struct_group.c @@ -1,3 +1,5 @@ +#if 0 + struct group { char * gr_name; gid_t gr_gid; @@ -7,3 +9,6 @@ struct group { /* POSIX(1) */ + + +#endif -- cgit v1.2.1