gnome-program.h: defining variables in headers



there are these two gemstones in gnome-program.h:

#ifndef program_invocation_short_name
char *program_invocation_short_name;
#endif
#ifndef program_invocation_name
char *program_invocation_name;
#endif

This is so broken I hope I won't even have to explain why.

What was the problem this was supposed to solve?

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Surgeon General's Warning: this post may contain small amounts of peanut.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]