ifdef and cruft removal
This commit is contained in:
@ -726,15 +726,11 @@ static const char *parse_gnu_option(void){
|
||||
gnu_table_struct *found;
|
||||
static const gnu_table_struct gnu_table[] = {
|
||||
{"Group", &&case_Group}, /* rgid */
|
||||
#ifdef FLASK_LINUX
|
||||
{"SID", &&case_secsid},
|
||||
#endif
|
||||
{"User", &&case_User}, /* ruid */
|
||||
{"cols", &&case_cols},
|
||||
{"columns", &&case_columns},
|
||||
#ifdef FLASK_LINUX
|
||||
{"context", &&case_context},
|
||||
#endif
|
||||
{"cumulative", &&case_cumulative},
|
||||
{"deselect", &&case_deselect}, /* -N */
|
||||
{"forest", &&case_forest}, /* f -H */
|
||||
@ -757,9 +753,7 @@ static const char *parse_gnu_option(void){
|
||||
{"noheadings", &&case_noheadings},
|
||||
{"pid", &&case_pid},
|
||||
{"rows", &&case_rows},
|
||||
#ifdef FLASK_LINUX
|
||||
{"secsid", &&case_secsid},
|
||||
#endif
|
||||
{"sid", &&case_sid},
|
||||
{"sort", &&case_sort},
|
||||
{"tty", &&case_tty},
|
||||
@ -936,7 +930,6 @@ static const char *parse_gnu_option(void){
|
||||
display_version();
|
||||
exit(0);
|
||||
return NULL;
|
||||
#ifdef FLASK_LINUX
|
||||
case_context:
|
||||
trace("--context\n");
|
||||
format_flags |= FF_Fc;
|
||||
@ -945,7 +938,6 @@ static const char *parse_gnu_option(void){
|
||||
trace("--secsid\n");
|
||||
format_flags |= FF_Fs;
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*************** process trailing PIDs **********************/
|
||||
|
Reference in New Issue
Block a user